about summary refs log tree commit diff
path: root/arch/aarch64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-03-07 21:58:12 +0000
committerRich Felker <dalias@aerifal.cx>2019-03-13 12:35:02 -0400
commit2a03b0b518c91909bca8f0f97985656193db9fbe (patch)
tree1126fecae64cf3970974d7c29725ff50065d8026 /arch/aarch64
parentcff993cf32da345430724882214a4e493d4899fc (diff)
downloadmusl-2a03b0b518c91909bca8f0f97985656193db9fbe.tar.gz
musl-2a03b0b518c91909bca8f0f97985656193db9fbe.tar.xz
musl-2a03b0b518c91909bca8f0f97985656193db9fbe.zip
aarch64: add HWCAP_ definitions from linux v5.0
HWCAP_SB - speculation barrier instruction available added in linux
commit bd4fb6d270bc423a9a4098108784f7f9254c4e6d
HWCAP_PACA, HWCAP_PACG - pointer authentication instructions available
(address and generic) added in linux commit
7503197562567b57ec14feb3a9d5400ebc56812f
Diffstat (limited to 'arch/aarch64')
-rw-r--r--arch/aarch64/bits/hwcap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/aarch64/bits/hwcap.h b/arch/aarch64/bits/hwcap.h
index 8c040014..ad670914 100644
--- a/arch/aarch64/bits/hwcap.h
+++ b/arch/aarch64/bits/hwcap.h
@@ -27,3 +27,6 @@
 #define HWCAP_ILRCPC		(1 << 26)
 #define HWCAP_FLAGM		(1 << 27)
 #define HWCAP_SSBS		(1 << 28)
+#define HWCAP_SB		(1 << 29)
+#define HWCAP_PACA		(1 << 30)
+#define HWCAP_PACG		(1UL << 31)