about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
diff options
context:
space:
mode:
authorRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-13 14:13:39 -0500
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>2013-06-13 14:13:39 -0500
commit1212598c9429674994da64b3a17375471d809677 (patch)
tree7bde46b6ded3a270df7a8b649414eb75b64240f4 /sysdeps/unix/sysv/linux/s390/dl-procinfo.h
parentc204ab284bc3ef492f5a5201bd6131032bfd471a (diff)
downloadglibc-1212598c9429674994da64b3a17375471d809677.tar.gz
glibc-1212598c9429674994da64b3a17375471d809677.tar.xz
glibc-1212598c9429674994da64b3a17375471d809677.zip
Add support for AT_HWCAP2. rsa/hwcap2_v4
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390/dl-procinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/s390/dl-procinfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
index 5ca4b76ca7..eb60fc2ba8 100644
--- a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h
@@ -24,12 +24,16 @@
 #undef _dl_procinfo
 static inline int
 __attribute__ ((unused))
-_dl_procinfo (int word)
+_dl_procinfo (unsigned int type, unsigned int word)
 {
   /* This table should match the information from arch/s390/kernel/setup.c
      in the kernel sources.  */
   int i;
 
+  /* Unused for now.  */
+  if (type == AT_HWCAP2)
+    return 0;
+
   _dl_printf ("AT_HWCAP:   ");
 
   for (i = 0; i < _DL_HWCAP_COUNT; ++i)