summaryrefslogtreecommitdiff
path: root/arch/s390/boot/head.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/head.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/head.S')
-rw-r--r--arch/s390/boot/head.S20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S
index ceb118621eaa..2ced90172680 100644
--- a/arch/s390/boot/head.S
+++ b/arch/s390/boot/head.S
@@ -333,23 +333,3 @@ SYM_CODE_START_LOCAL(startup_pgm_check_handler)
lmg %r0,%r15,__LC_GPREGS_SAVE_AREA-4095(%r8)
lpswe __LC_RETURN_PSW # disabled wait
SYM_CODE_END(startup_pgm_check_handler)
-
-#
-# params at 10400 (setup.h)
-# Must be keept in sync with struct parmarea in setup.h
-#
- .org PARMAREA - IPL_START
-SYM_DATA_START(parmarea)
- .quad 0 # IPL_DEVICE
- .quad 0 # INITRD_START
- .quad 0 # INITRD_SIZE
- .quad 0 # OLDMEM_BASE
- .quad 0 # OLDMEM_SIZE
- .quad kernel_version # points to kernel version string
- .quad COMMAND_LINE_SIZE
-
- .org COMMAND_LINE - IPL_START
- .byte "root=/dev/ram0 ro"
- .byte 0
- .org PARMAREA+__PARMAREA_SIZE - IPL_START
-SYM_DATA_END(parmarea)