]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/sclp_early: Get rid of sclp_early_read_info_sccb_valid
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Thu, 5 Dec 2013 17:46:51 +0000 (18:46 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 12 Dec 2013 10:01:00 +0000 (11:01 +0100)
commita3ddc683362f1cd6118bf551ad5fe6ad17bb5ce5
tree84a063f6dd1222f10b0284d85413c11e4148dc9f
parent7f8864a56c2220c64b7496a12e0c2325d9f826b6
s390/sclp_early: Get rid of sclp_early_read_info_sccb_valid

The early sclp detect functions gather the available SCLP facility information.
The sclp_early_read_info_sccb_valid indicates whether the early sclp request
was valid.  However, one external reference to it checks for particular sclp
facility bits and this should be sufficient.   Another occurance is in the
sclp_get_ipl_info() function that is called later.  Because all information are
available at the early stage, save the ipl information when detecting the sclp
facilities.  Hence, no more checks for sclp_early_read_info_sccb_valid are
required.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Reviewed-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.h
drivers/s390/char/sclp_cmd.c
drivers/s390/char/sclp_early.c