about summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2012-09-06 10:28:52 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2012-09-06 10:28:52 +0200
commit14c996c83b265c31aae5f64480d393fa5d3364f3 (patch)
tree8f136c470516786769a298c72faf2fd44c483a0a /sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
parent1415687eacbfff02e8bba2c93b5acce41609e93b (diff)
downloadglibc-14c996c83b265c31aae5f64480d393fa5d3364f3.tar.gz
glibc-14c996c83b265c31aae5f64480d393fa5d3364f3.tar.xz
glibc-14c996c83b265c31aae5f64480d393fa5d3364f3.zip
S/390: Fix optimized mem* running on 31 bit kernels.
Diffstat (limited to 'sysdeps/s390/s390-32/multiarch/ifunc-resolve.c')
-rw-r--r--sysdeps/s390/s390-32/multiarch/ifunc-resolve.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c b/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
index 6a86c03c25..f1bf8a3dc4 100644
--- a/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
+++ b/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
@@ -41,7 +41,8 @@
   void *resolve_##FUNC (unsigned long int dl_hwcap)			\
   {									\
     if ((dl_hwcap & HWCAP_S390_STFLE)					\
-	&& (dl_hwcap & HWCAP_S390_HIGH_GPRS)) /* Implies zarch */	\
+	&& (dl_hwcap & HWCAP_S390_ZARCH)				\
+	&& (dl_hwcap & HWCAP_S390_HIGH_GPRS))				\
       {									\
 	/* We want just 1 double word to be returned.  */		\
 	register unsigned long reg0 asm("0") = 0;			\