S390: Add new s390 platform z14.

Message ID 631a12c2-8fce-0175-5185-ab4672693563@linux.vnet.ibm.com
State New
Headers show

Commit Message

Stefan Liebler Aug. 11, 2017, 11:48 a.m.
Hi,

This patch adds the new IBM z14 to the platform string array.
The macro _DL_PLATFORMS_COUNT is incremented.

ChangeLog:

	* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
	* sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.

Bye
Stefan

Comments

Stefan Liebler Aug. 15, 2017, 12:03 p.m. | #1
On 08/11/2017 01:48 PM, Stefan Liebler wrote:
> Hi,
> 
> This patch adds the new IBM z14 to the platform string array.
> The macro _DL_PLATFORMS_COUNT is incremented.
> 
> ChangeLog:
> 
>      * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
>      * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
> 
> Bye
> Stefan

Committed.

Patch

commit b314628ed3b10b035308c3e4bb55c23f8b1e55bf
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Fri Aug 11 13:38:03 2017 +0200

    S390: Add new s390 platform z14.
    
    The new IBM z14 is added to platform string array.
    The macro _DL_PLATFORMS_COUNT is incremented.
    
    ChangeLog:
    
    	* sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
    	* sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.

diff --git a/sysdeps/s390/dl-procinfo.c b/sysdeps/s390/dl-procinfo.c
index 436e205..e71bc1f 100644
--- a/sysdeps/s390/dl-procinfo.c
+++ b/sysdeps/s390/dl-procinfo.c
@@ -63,11 +63,11 @@  PROCINFO_CLASS const char _dl_s390_cap_flags[15][9]
 #if !defined PROCINFO_DECL && defined SHARED
   ._dl_s390_platforms
 #else
-PROCINFO_CLASS const char _dl_s390_platforms[8][7]
+PROCINFO_CLASS const char _dl_s390_platforms[9][7]
 #endif
 #ifndef PROCINFO_DECL
 = {
-    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13"
+    "g5", "z900", "z990", "z9-109", "z10", "z196", "zEC12", "z13", "z14"
   }
 #endif
 #if !defined SHARED || defined PROCINFO_DECL
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 1645cf3..6db283e 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -23,7 +23,7 @@ 
 
 #define _DL_HWCAP_COUNT 15
 
-#define _DL_PLATFORMS_COUNT	8
+#define _DL_PLATFORMS_COUNT	9
 
 /* The kernel provides up to 32 capability bits with elf_hwcap.  */
 #define _DL_FIRST_PLATFORM	32