diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2012-09-06 10:28:52 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2012-09-06 10:28:52 +0200 |
commit | 14c996c83b265c31aae5f64480d393fa5d3364f3 (patch) | |
tree | 8f136c470516786769a298c72faf2fd44c483a0a /sysdeps/s390/s390-32/multiarch/ifunc-resolve.c | |
parent | 1415687eacbfff02e8bba2c93b5acce41609e93b (diff) | |
download | glibc-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.c | 3 |
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; \ |