aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-05-23 11:07:13 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-09 11:21:07 +0200
commit17aacfbfa1ae386d3e54d12a13b88b7981e04896 (patch)
tree54e157ff9a37dfa34981e53ed37451ab3409c991 /arch/s390/include/asm/sclp.h
parents390: introduce .boot.data section (diff)
downloadlinux-dev-17aacfbfa1ae386d3e54d12a13b88b7981e04896.tar.xz
linux-dev-17aacfbfa1ae386d3e54d12a13b88b7981e04896.zip
s390/sclp: move sclp_early_read_info to sclp_early_core.c
To enable early online memory detection sclp_early_read_info has been moved to sclp_early_core.c. sclp_info_sccb has been made a part of .boot.data, which allows to reuse it later during early kernel startup and make sclp_early_read_info call just once. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r--arch/s390/include/asm/sclp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 5d9420bbe165..7df57bd09aa1 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -105,6 +105,7 @@ struct zpci_report_error_header {
u8 data[0]; /* Subsequent Data passed verbatim to SCLP ET 24 */
} __packed;
+int sclp_early_read_info(void);
int sclp_early_get_core_info(struct sclp_core_info *info);
void sclp_early_get_ipl_info(struct sclp_ipl_info *info);
void sclp_early_detect(void);