summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.ibm.com>2019-03-06 17:36:26 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-29 10:43:57 +0200
commitd0d249d75dda1b101624316a52d117be07b8ccff (patch)
treeaa53d33008dd6443ac9401c39a6a9f13d27446b5 /arch/s390/boot
parent4c0f032d496385fa8071e404a1bc33f4abbc2f81 (diff)
downloadtalos-op-linux-d0d249d75dda1b101624316a52d117be07b8ccff.tar.gz
talos-op-linux-d0d249d75dda1b101624316a52d117be07b8ccff.zip
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.S11
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)
#
# params at 10400 (setup.h)
+# Must be keept in sync with struct parmarea in setup.h
#
.org PARMAREA
- .long 0,0 # IPL_DEVICE
- .long 0,0 # INITRD_START
- .long 0,0 # INITRD_SIZE
- .long 0,0 # OLDMEM_BASE
- .long 0,0 # OLDMEM_SIZE
+ .quad 0 # IPL_DEVICE
+ .quad 0 # INITRD_START
+ .quad 0 # INITRD_SIZE
+ .quad 0 # OLDMEM_BASE
+ .quad 0 # OLDMEM_SIZE
.org COMMAND_LINE
.byte "root=/dev/ram0 ro"
OpenPOWER on IntegriCloud