From 834979c27f5281f37ae9ce5191134f26ae7b9fd0 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Wed, 27 Apr 2022 04:14:34 +0200 Subject: s390/boot: convert initial lowcore to C Convert initial lowcore to C and use proper defines and structures to initialize it. This should make the z/VM ipl procedure a bit less magic. Acked-by: Peter Oberparleiter Reviewed-by: Vasily Gorbik Signed-off-by: Heiko Carstens --- arch/s390/boot/vmlinux.lds.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/s390/boot/vmlinux.lds.S') diff --git a/arch/s390/boot/vmlinux.lds.S b/arch/s390/boot/vmlinux.lds.S index 918e05137d4c..983f02dc985a 100644 --- a/arch/s390/boot/vmlinux.lds.S +++ b/arch/s390/boot/vmlinux.lds.S @@ -4,6 +4,7 @@ #include #include #include +#include "boot.h" OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") OUTPUT_ARCH(s390:64-bit) @@ -13,6 +14,10 @@ ENTRY(startup) SECTIONS { . = 0; + .ipldata : { + *(.ipldata) + } + . = IPL_START; .head.text : { _head = . ; HEAD_TEXT -- cgit v1.2.3