about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-01-01 02:01:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-01-01 02:01:43 +0000
commitf45077974a82594bd92f7c5dfa4c8a8fce563b4e (patch)
treeace9f3f3689f6d374d632316d44f7d5a99c72e94
parent47ad5e1a2a3ab8eeda491454cbef3b1c5239dc02 (diff)
downloadglibc-f45077974a82594bd92f7c5dfa4c8a8fce563b4e.tar.gz
glibc-f45077974a82594bd92f7c5dfa4c8a8fce563b4e.tar.xz
glibc-f45077974a82594bd92f7c5dfa4c8a8fce563b4e.zip
Add HWCAP_SSBS from Linux 4.20 to AArch64 bits/hwcap.h.
This patch adds the HWCAP_SSBS constant from Linux 4.20 to the AArch64
bits/hwcap.h.

Tested with build-many-glibcs.py for aarch64-linux-gnu.

	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
	macro.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e647086f79..69718b83b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-01-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
+	macro.
+
 	* sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
 	version to 4.20.
 	(riscv_flush_icache): New syscall.
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
index 3d92299372..193959fe9b 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -49,3 +49,4 @@
 #define HWCAP_USCAT		(1 << 25)
 #define HWCAP_ILRCPC		(1 << 26)
 #define HWCAP_FLAGM		(1 << 27)
+#define HWCAP_SSBS		(1 << 28)