diff options
Diffstat (limited to 'drivers/s390/char/sclp_cmd.c')
-rw-r--r-- | drivers/s390/char/sclp_cmd.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index c44d13f607bc..30a2255389e5 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c | |||
@@ -56,7 +56,6 @@ static int __initdata early_read_info_sccb_valid; | |||
56 | 56 | ||
57 | u64 sclp_facilities; | 57 | u64 sclp_facilities; |
58 | static u8 sclp_fac84; | 58 | static u8 sclp_fac84; |
59 | static u8 sclp_fac85; | ||
60 | static unsigned long long rzm; | 59 | static unsigned long long rzm; |
61 | static unsigned long long rnmax; | 60 | static unsigned long long rnmax; |
62 | 61 | ||
@@ -131,7 +130,8 @@ void __init sclp_facilities_detect(void) | |||
131 | sccb = &early_read_info_sccb; | 130 | sccb = &early_read_info_sccb; |
132 | sclp_facilities = sccb->facilities; | 131 | sclp_facilities = sccb->facilities; |
133 | sclp_fac84 = sccb->fac84; | 132 | sclp_fac84 = sccb->fac84; |
134 | sclp_fac85 = sccb->fac85; | 133 | if (sccb->fac85 & 0x02) |
134 | S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; | ||
135 | rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; | 135 | rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; |
136 | rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2; | 136 | rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2; |
137 | rzm <<= 20; | 137 | rzm <<= 20; |
@@ -171,12 +171,6 @@ unsigned long long sclp_get_rzm(void) | |||
171 | return rzm; | 171 | return rzm; |
172 | } | 172 | } |
173 | 173 | ||
174 | u8 sclp_get_fac85(void) | ||
175 | { | ||
176 | return sclp_fac85; | ||
177 | } | ||
178 | EXPORT_SYMBOL_GPL(sclp_get_fac85); | ||
179 | |||
180 | /* | 174 | /* |
181 | * This function will be called after sclp_facilities_detect(), which gets | 175 | * This function will be called after sclp_facilities_detect(), which gets |
182 | * called from early.c code. Therefore the sccb should have valid contents. | 176 | * called from early.c code. Therefore the sccb should have valid contents. |