Revert "s390/facility: Disable compile time optimization for decompressor code"

This reverts commit f66d16cd53.
This commit is contained in:
Ksawlii 2024-11-24 00:22:59 +01:00
parent 809e38d7df
commit 605451724a

View file

@ -53,10 +53,8 @@ static inline int test_facility(unsigned long nr)
unsigned long facilities_als[] = { FACILITIES_ALS };
if (__builtin_constant_p(nr) && nr < sizeof(facilities_als) * 8) {
if (__test_facility(nr, &facilities_als)) {
if (!__is_defined(__DECOMPRESSOR))
return 1;
}
if (__test_facility(nr, &facilities_als))
return 1;
}
return __test_facility(nr, &S390_lowcore.stfle_fac_list);
}