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:

committed by
Martin Schwidefsky

parent
26f15caaf9
commit
86cd741bc6
@@ -913,8 +913,7 @@ static int __init pci_base_init(void)
|
||||
if (!s390_pci_probe)
|
||||
return 0;
|
||||
|
||||
if (!test_facility(2) || !test_facility(69)
|
||||
|| !test_facility(71) || !test_facility(72))
|
||||
if (!test_facility(69) || !test_facility(71) || !test_facility(72))
|
||||
return 0;
|
||||
|
||||
rc = zpci_debug_init();
|
||||
|
Reference in New Issue
Block a user