diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2012-11-08 09:53:00 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2012-11-08 09:53:00 +0100 |
commit | d0f8457e6b682fe06a9a025d982058bb4abf3012 (patch) | |
tree | 1e704b817cac6732f27ca3f64aea4b89ea9c42ac /sysdeps/s390 | |
parent | 57241e26e544e44bcb7b96ae41f0c62488d89020 (diff) | |
download | glibc-d0f8457e6b682fe06a9a025d982058bb4abf3012.tar glibc-d0f8457e6b682fe06a9a025d982058bb4abf3012.tar.gz glibc-d0f8457e6b682fe06a9a025d982058bb4abf3012.tar.bz2 glibc-d0f8457e6b682fe06a9a025d982058bb4abf3012.zip |
S/390: Add hwcap value for transactional execution.
Diffstat (limited to 'sysdeps/s390')
-rw-r--r-- | sysdeps/s390/dl-procinfo.c | 4 | ||||
-rw-r--r-- | sysdeps/s390/dl-procinfo.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c index a22d45b80a..9590146120 100644 --- a/sysdeps/s390/dl-procinfo.c +++ b/sysdeps/s390/dl-procinfo.c @@ -46,11 +46,11 @@ #if !defined PROCINFO_DECL && defined SHARED ._dl_s390_cap_flags #else -PROCINFO_CLASS const char _dl_s390_cap_flags[10][9] +PROCINFO_CLASS const char _dl_s390_cap_flags[11][9] #endif #ifndef PROCINFO_DECL = { - "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs" + "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh", "highgprs", "te" } #endif #if !defined SHARED || defined PROCINFO_DECL diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h index 7221b53ffb..97dcf074f2 100644 --- a/sysdeps/s390/dl-procinfo.h +++ b/sysdeps/s390/dl-procinfo.h @@ -33,7 +33,9 @@ /* Hardware capablity bit numbers are derived directly from the facility indications as stored by the "store facility list" (STFL) - instruction. */ + instruction. + highgprs is an alien in that list. It describes a *kernel* + capability. */ enum { @@ -47,6 +49,7 @@ enum HWCAP_S390_HPAGE = 1 << 7, HWCAP_S390_ETF3EH = 1 << 8, HWCAP_S390_HIGH_GPRS = 1 << 9, + HWCAP_S390_TE = 1 << 10, }; #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \ |