File 0012-S390-Mark-vx-and-vxe-as-important-hwcap.patch of Package glibc.14271

From d148079557353f16799ecfce265fe16e985092fb Mon Sep 17 00:00:00 2001
From: Stefan Liebler <stli@linux.ibm.com>
Date: Thu, 21 Mar 2019 09:14:26 +0100
Subject: [PATCH 12/18] S390: Mark vx and vxe as important hwcap.

This patch adds vx and vxe as important hwcaps
which allows one to provide shared libraries
tuned for platforms with non-vx/-vxe, vx or vxe.

ChangeLog:

	* sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
	Add HWCAP_S390_VX and HWCAP_S390_VXE.

(cherry picked from commit 61f5e9470fb397a4c334938ac5a667427d9047df)
---
 sysdeps/s390/dl-procinfo.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: glibc-2.26/sysdeps/s390/dl-procinfo.h
===================================================================
--- glibc-2.26.orig/sysdeps/s390/dl-procinfo.h
+++ glibc-2.26/sysdeps/s390/dl-procinfo.h
@@ -57,7 +57,8 @@ enum
 };
 
 #define HWCAP_IMPORTANT (HWCAP_S390_ZARCH | HWCAP_S390_LDISP \
-			  | HWCAP_S390_EIMM | HWCAP_S390_DFP)
+			 | HWCAP_S390_EIMM | HWCAP_S390_DFP  \
+			 | HWCAP_S390_VX | HWCAP_S390_VXE)
 
 /* We cannot provide a general printing function.  */
 #define _dl_procinfo(type, word) -1
openSUSE Build Service is sponsored by