diff --git a/arch/s390/s390_features.c b/arch/s390/s390_features.c index 629025d5bb..1f90a926c0 100644 --- a/arch/s390/s390_features.c +++ b/arch/s390/s390_features.c @@ -6,7 +6,7 @@ #endif #ifndef HWCAP_S390_VXRS -#define HWCAP_S390_VXRS HWCAP_S390_VX +#define HWCAP_S390_VXRS (1 << 11) #endif void Z_INTERNAL s390_check_features(struct s390_cpu_features *features) { diff --git a/cmake/detect-intrinsics.cmake b/cmake/detect-intrinsics.cmake index 14f82fcbf5..d2a591234b 100644 --- a/cmake/detect-intrinsics.cmake +++ b/cmake/detect-intrinsics.cmake @@ -433,7 +433,7 @@ macro(check_s390_intrinsics) check_c_source_compiles( "#include #ifndef HWCAP_S390_VXRS - #define HWCAP_S390_VXRS HWCAP_S390_VX + #define HWCAP_S390_VXRS (1 << 11) #endif int main() { return (getauxval(AT_HWCAP) & HWCAP_S390_VXRS);