Skip to content

Commit a55fe06

Browse files
committed
s390x/DYNAMIC_ARCH: define a HW_CAP flag to support slightly older glibc versions
Enable building DYNAMIC_ARCH support with older versions of glibc that do not know about the hwcap flag HWCAP_S390_VXE yet. Signed-off-by: Marius Hillenbrand <[email protected]>
1 parent 4f34bcf commit a55fe06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

driver/others/dynamic_zarch.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ char* gotoblas_corename(void) {
6565
return corename[0];
6666
}
6767

68+
#ifndef HWCAP_S390_VXE
69+
#define HWCAP_S390_VXE 8192
70+
#endif
71+
6872
/**
6973
* Detect the fitting set of kernels by retrieving the CPU features supported by
7074
* OS from the auxiliary value AT_HWCAP and choosing the set of kernels

0 commit comments

Comments
 (0)