summary refs log tree commit diff
path: root/sysdeps/s390/dl-procinfo.c
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2021-10-05 16:14:10 +0200
committerStefan Liebler <stli@linux.ibm.com>2021-10-07 06:49:39 +0200
commitf2e06656d04a9fcb0603802a4f8ce7aa3a1f055e (patch)
tree2d85c7bf581d24bf633c03ac44a5e44554310279 /sysdeps/s390/dl-procinfo.c
parent27b6edbb090f736b101f569620d8ad0e7217ddf8 (diff)
downloadglibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.tar.gz
glibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.tar.xz
glibc-f2e06656d04a9fcb0603802a4f8ce7aa3a1f055e.zip
S390: Add PCI_MIO and SIE HWCAPs
Both new HWCAPs were introduced in these kernel commits:
- 7e8403ecaf884f307b627f3c371475913dd29292
  "s390: add HWCAP_S390_PCI_MIO to ELF hwcaps"
- 7e82523f2583e9813e4109df3656707162541297
  "s390/hwcaps: make sie capability regular hwcap"

Also note that the kernel commit 511ad531afd4090625def4d9aba1f5227bd44b8e
"s390/hwcaps: shorten HWCAP defines" has shortened the prefix of the macros
from "HWCAP_S390_" to "HWCAP_".  For compatibility reasons, we do not
change the prefix in public glibc header file.
Diffstat (limited to 'sysdeps/s390/dl-procinfo.c')
-rw-r--r--sysdeps/s390/dl-procinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
index 7314c31b15..97be34fe9d 100644
--- a/sysdeps/s390/dl-procinfo.c
+++ b/sysdeps/s390/dl-procinfo.c
@@ -45,13 +45,13 @@
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_s390_cap_flags
 #else
-PROCINFO_CLASS const char _dl_s390_cap_flags[21][9]
+PROCINFO_CLASS const char _dl_s390_cap_flags[23][9]
 #endif
 #ifndef PROCINFO_DECL
 = {
      "esan3", "zarch", "stfle", "msa", "ldisp", "eimm", "dfp", "edat", "etf3eh",
      "highgprs", "te", "vx", "vxd", "vxe", "gs", "vxe2", "vxp", "sort", "dflt",
-     "vxp2", "nnpa"
+     "vxp2", "nnpa", "pcimio", "sie"
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL