diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-07-10 05:24:10 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-07-10 05:24:43 -0400 |
commit | 83119ad4a1ceacd99f380086c2855ae2c4268afc (patch) | |
tree | 6da1d5cdba6e5bcd8fcdf5332700e8353b4e79a8 /include/asm-s390 | |
parent | 05dd25307ca67cbfa0207bbba2e6c79fa97d125b (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 'include/asm-s390')
-rw-r--r-- | include/asm-s390/sclp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-s390/sclp.h b/include/asm-s390/sclp.h index ddfaa8db47be..cb9faf1ea5cf 100644 --- a/include/asm-s390/sclp.h +++ b/include/asm-s390/sclp.h | |||
@@ -28,6 +28,7 @@ struct sclp_ipl_info { | |||
28 | }; | 28 | }; |
29 | 29 | ||
30 | void sclp_readinfo_early(void); | 30 | void sclp_readinfo_early(void); |
31 | void sclp_facilities_detect(void); | ||
31 | unsigned long long sclp_memory_detect(void); | 32 | unsigned long long sclp_memory_detect(void); |
32 | int sclp_sdias_blk_count(void); | 33 | int sclp_sdias_blk_count(void); |
33 | int sclp_sdias_copy(void *dest, int blk_num, int nr_blks); | 34 | int sclp_sdias_copy(void *dest, int blk_num, int nr_blks); |