diff options
author | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-13 14:13:39 -0500 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-06-13 14:13:39 -0500 |
commit | 1212598c9429674994da64b3a17375471d809677 (patch) | |
tree | 7bde46b6ded3a270df7a8b649414eb75b64240f4 /sysdeps/sparc/dl-procinfo.h | |
parent | c204ab284bc3ef492f5a5201bd6131032bfd471a (diff) | |
download | glibc-rsa/hwcap2_v4.tar glibc-rsa/hwcap2_v4.tar.gz glibc-rsa/hwcap2_v4.tar.bz2 glibc-rsa/hwcap2_v4.zip |
Add support for AT_HWCAP2.rsa/hwcap2_v4
Diffstat (limited to 'sysdeps/sparc/dl-procinfo.h')
-rw-r--r-- | sysdeps/sparc/dl-procinfo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h index a18b099586..1594ee0e91 100644 --- a/sysdeps/sparc/dl-procinfo.h +++ b/sysdeps/sparc/dl-procinfo.h @@ -27,10 +27,14 @@ static inline int __attribute__ ((unused)) -_dl_procinfo (int word) +_dl_procinfo (unsigned int type, unsigned int word) { int i; + /* Unused for now. */ + if (type == AT_HWCAP2) + return 0; + _dl_printf ("AT_HWCAP: "); for (i = 0; i < _DL_HWCAP_COUNT; ++i) |