aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-02-14 05:23:21 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-03-25 06:49:37 -0400
commit86cd741bc6ed0edf6ea0e8ec5c840cf9e3f3a7cb (patch)
tree2fe71e719cae68adc4409e3004eacd7f7455358c /drivers/s390/crypto
parent26f15caaf993bbb6f246a30aad3c96a349564528 (diff)
s390: remove test_facility(2) (== z/Architecture mode active) checks
Given that the kernel now always runs in 64 bit mode, it is pointless to check if the z/Architecture mode is active. Remove the checks. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
-rw-r--r--drivers/s390/crypto/ap_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
index 33890c9850de..f0b9871a4bbd 100644
--- a/drivers/s390/crypto/ap_bus.c
+++ b/drivers/s390/crypto/ap_bus.c
@@ -165,7 +165,7 @@ static inline int ap_instructions_available(void)
165 */ 165 */
166static int ap_interrupts_available(void) 166static int ap_interrupts_available(void)
167{ 167{
168 return test_facility(2) && test_facility(65); 168 return test_facility(65);
169} 169}
170 170
171/** 171/**
@@ -176,7 +176,7 @@ static int ap_interrupts_available(void)
176 */ 176 */
177static int ap_configuration_available(void) 177static int ap_configuration_available(void)
178{ 178{
179 return test_facility(2) && test_facility(12); 179 return test_facility(12);
180} 180}
181 181
182/** 182/**