summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot
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/boot
parentd1b52a4388ffdcff47fb53de7fffe052fe766a9f (diff)
downloadlinux-17aacfbfa1ae386d3e54d12a13b88b7981e04896.tar.bz2
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/boot')
-rw-r--r--arch/s390/boot/startup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/startup.c b/arch/s390/boot/startup.c
index e9eea37894b3..78651a2c26b0 100644
--- a/arch/s390/boot/startup.c
+++ b/arch/s390/boot/startup.c
@@ -50,6 +50,7 @@ void startup_kernel(void)
void *img;
rescue_initrd();
+ sclp_early_read_info();
if (!IS_ENABLED(CONFIG_KERNEL_UNCOMPRESSED)) {
img = decompress_kernel();
memmove((void *)vmlinux.default_lma, img, vmlinux.image_size);