aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/mm')
-rw-r--r--arch/s390/mm/fault.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index b4aad0c1f56..fe5701e9efb 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -56,12 +56,7 @@ static unsigned long store_indication;
void fault_init(void)
{
- unsigned long long facility_list[2];
-
- if (stfle(facility_list, 2) < 2)
- return;
- if ((facility_list[0] & (1ULL << 61)) &&
- (facility_list[1] & (1ULL << 52)))
+ if (test_facility(2) && test_facility(75))
store_indication = 0xc00;
}