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>
This commit is contained in:
Heiko Carstens
2015-02-14 11:23:21 +01:00
committed by Martin Schwidefsky
parent 26f15caaf9
commit 86cd741bc6
3 changed files with 5 additions and 10 deletions

View File

@@ -165,7 +165,7 @@ static inline int ap_instructions_available(void)
*/
static int ap_interrupts_available(void)
{
return test_facility(2) && test_facility(65);
return test_facility(65);
}
/**
@@ -176,7 +176,7 @@ static int ap_interrupts_available(void)
*/
static int ap_configuration_available(void)
{
return test_facility(2) && test_facility(12);
return test_facility(12);
}
/**