summaryrefslogtreecommitdiff
path: root/arch/s390/boot/vmlinux.lds.S
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2022-04-25 22:24:56 +0300
committerHeiko Carstens <hca@linux.ibm.com>2022-05-06 21:45:15 +0300
commitf84d88ed3beb7fc2b4549e4c213ad428c0be9029 (patch)
tree2a54b7a71af0d0c572c97b688d733a71b5302e85 /arch/s390/boot/vmlinux.lds.S
parent834979c27f5281f37ae9ce5191134f26ae7b9fd0 (diff)
downloadlinux-f84d88ed3beb7fc2b4549e4c213ad428c0be9029.tar.xz
s390/boot: convert parmarea to C
Convert parmarea to C, which makes it much easier to initialize it. No need to keep offsets in assembler code in sync with struct parmarea anymore. Reviewed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/vmlinux.lds.S')
-rw-r--r--arch/s390/boot/vmlinux.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/boot/vmlinux.lds.S b/arch/s390/boot/vmlinux.lds.S
index 983f02dc985a..af5c6860e0a1 100644
--- a/arch/s390/boot/vmlinux.lds.S
+++ b/arch/s390/boot/vmlinux.lds.S
@@ -23,6 +23,10 @@ SECTIONS
HEAD_TEXT
_ehead = . ;
}
+ . = PARMAREA;
+ .parmarea : {
+ *(.parmarea)
+ }
.text : {
_text = .; /* Text */
*(.text)