diff options
author | Philipp Rudo <prudo@linux.ibm.com> | 2019-03-06 11:36:26 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-04-29 04:43:57 -0400 |
commit | d0d249d75dda1b101624316a52d117be07b8ccff (patch) | |
tree | aa53d33008dd6443ac9401c39a6a9f13d27446b5 /arch/s390/boot | |
parent | 4c0f032d496385fa8071e404a1bc33f4abbc2f81 (diff) |
s390/kexec_file: Simplify parmarea access
Access the parmarea in head.S via a struct instead of individual offsets.
While at it make the fields in the parmarea .quads.
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r-- | arch/s390/boot/head.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S index ce2cbbc41742..d585c4dbdac7 100644 --- a/arch/s390/boot/head.S +++ b/arch/s390/boot/head.S | |||
@@ -323,13 +323,14 @@ ENTRY(startup_kdump) | |||
323 | 323 | ||
324 | # | 324 | # |
325 | # params at 10400 (setup.h) | 325 | # params at 10400 (setup.h) |
326 | # Must be keept in sync with struct parmarea in setup.h | ||
326 | # | 327 | # |
327 | .org PARMAREA | 328 | .org PARMAREA |
328 | .long 0,0 # IPL_DEVICE | 329 | .quad 0 # IPL_DEVICE |
329 | .long 0,0 # INITRD_START | 330 | .quad 0 # INITRD_START |
330 | .long 0,0 # INITRD_SIZE | 331 | .quad 0 # INITRD_SIZE |
331 | .long 0,0 # OLDMEM_BASE | 332 | .quad 0 # OLDMEM_BASE |
332 | .long 0,0 # OLDMEM_SIZE | 333 | .quad 0 # OLDMEM_SIZE |
333 | 334 | ||
334 | .org COMMAND_LINE | 335 | .org COMMAND_LINE |
335 | .byte "root=/dev/ram0 ro" | 336 | .byte "root=/dev/ram0 ro" |