about summary refs log tree commit diff
path: root/arch/s390x/bits
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2017-08-29 19:46:46 +0200
committerRich Felker <dalias@aerifal.cx>2017-08-29 21:40:35 -0400
commit3356177979bea717451362e746252ed38de77514 (patch)
treeed535c0902ad3625bf87895bcde9bfb3b06cc1da /arch/s390x/bits
parent5f7efb87a28a311ad377dd26adf53715dedb096d (diff)
downloadmusl-3356177979bea717451362e746252ed38de77514.tar.gz
musl-3356177979bea717451362e746252ed38de77514.tar.xz
musl-3356177979bea717451362e746252ed38de77514.zip
s390x: add bits/hwcap.h
aligned with linux arch/s390/include/asm/elf.h
(these macros should be exported into uapi, but they are not)
Diffstat (limited to 'arch/s390x/bits')
-rw-r--r--arch/s390x/bits/hwcap.h15
1 files changed, 15 insertions, 0 deletions
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