aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-07-10 05:24:10 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-07-10 05:24:43 -0400
commit83119ad4a1ceacd99f380086c2855ae2c4268afc (patch)
tree6da1d5cdba6e5bcd8fcdf5332700e8353b4e79a8 /arch/s390/kernel
parent05dd25307ca67cbfa0207bbba2e6c79fa97d125b (diff)
[S390] sclp: Test facility list before executing a service call.
Check if a command is available before executing. Saves some superfluous service calls that won't succeed anyway. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c
index 9fcf3f1f47b6..e6289ee74ecd 100644
--- a/arch/s390/kernel/early.c
+++ b/arch/s390/kernel/early.c
@@ -275,6 +275,7 @@ void __init startup_init(void)
275 sort_main_extable(); 275 sort_main_extable();
276 setup_lowcore_early(); 276 setup_lowcore_early();
277 sclp_readinfo_early(); 277 sclp_readinfo_early();
278 sclp_facilities_detect();
278 memsize = sclp_memory_detect(); 279 memsize = sclp_memory_detect();
279#ifndef CONFIG_64BIT 280#ifndef CONFIG_64BIT
280 /* 281 /*