From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11861 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] s390x: add bits/hwcap.h Date: Tue, 29 Aug 2017 19:46:46 +0200 Message-ID: <20170829174645.GR15263@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1504028830 31957 195.159.176.226 (29 Aug 2017 17:47:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Aug 2017 17:47:10 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-11874-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 29 19:47:07 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmkbG-0007UR-1G for gllmg-musl@m.gmane.org; Tue, 29 Aug 2017 19:46:54 +0200 Original-Received: (qmail 27776 invoked by uid 550); 29 Aug 2017 17:46:58 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27734 invoked from network); 29 Aug 2017 17:46:57 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:11861 Archived-At: based on linux arch/s390/include/asm/elf.h (these macros should be exported into uapi, but they are not) --- arch/s390x/bits/hwcap.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/s390x/bits/hwcap.h diff --git a/arch/s390x/bits/hwcap.h b/arch/s390x/bits/hwcap.h new file mode 100644 index 00000000..ecc6ce1f --- /dev/null +++ b/arch/s390x/bits/hwcap.h @@ -0,0 +1,15 @@ +#define HWCAP_S390_ESAN3 1 +#define HWCAP_S390_ZARCH 2 +#define HWCAP_S390_STFLE 4 +#define HWCAP_S390_MSA 8 +#define HWCAP_S390_LDISP 16 +#define HWCAP_S390_EIMM 32 +#define HWCAP_S390_DFP 64 +#define HWCAP_S390_HPAGE 128 +#define HWCAP_S390_ETF3EH 256 +#define HWCAP_S390_HIGH_GPRS 512 +#define HWCAP_S390_TE 1024 +#define HWCAP_S390_VXRS 2048 +#define HWCAP_S390_VXRS_BCD 4096 +#define HWCAP_S390_VXRS_EXT 8192 +#define HWCAP_S390_GS 16384 -- 2.14.1