summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/bits
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-09-05 17:59:16 -0700
committerDavid S. Miller <davem@davemloft.net>2012-09-05 17:59:16 -0700
commitff04dda46d227ea9ccf79b0f1e48636dbb3cc913 (patch)
tree84638e285e04f3635a9b28094f5d9f394d87e6b7 /sysdeps/sparc/bits
parent430d6ce62a22760f56d5dea0dcccd30413a45fc2 (diff)
downloadglibc-ff04dda46d227ea9ccf79b0f1e48636dbb3cc913.tar.gz
Recognize new sparc hwcap bits.
* sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE, HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define. * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27. * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new entries.
Diffstat (limited to 'sysdeps/sparc/bits')
-rw-r--r--sysdeps/sparc/bits/hwcap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/sparc/bits/hwcap.h b/sysdeps/sparc/bits/hwcap.h
index d922d7b0e8..74ca130bb1 100644
--- a/sysdeps/sparc/bits/hwcap.h
+++ b/sysdeps/sparc/bits/hwcap.h
@@ -45,3 +45,6 @@
#define HWCAP_SPARC_IMA 0x00400000
#define HWCAP_SPARC_ASI_CACHE_SPARING \
0x00800000
+#define HWCAP_SPARC_PAUSE 0x01000000
+#define HWCAP_SPARC_CBCOND 0x02000000
+#define HWCAP_SPARC_CRYPTO 0x04000000