summaryrefslogtreecommitdiffstats
path: root/arch/s390/boot
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2021-09-30 09:34:13 +0200
committerVasily Gorbik <gor@linux.ibm.com>2021-10-26 15:21:30 +0200
commit277c8389386e2ccb8417afe4e36f67fc5dcd735d (patch)
tree4c7208c1d92da854cf71e5c4943548e66a0ef929 /arch/s390/boot
parent6aefbf1cdf0018c5af53a3fa300a61fef0f046b6 (diff)
downloadlinux-277c8389386e2ccb8417afe4e36f67fc5dcd735d.tar.bz2
s390/kexec_file: move kernel image size check
In preparation of adding support for command lines with variable sizes on s390, the check whether the new kernel image is at least HEAD_END bytes long isn't correct. Move the check to kexec_file_add_components() so we can get the size of the parm area and check the size there. The '.org HEAD_END' directive can now also be removed from head.S. This was used in the past to reserve space for the early sccb buffer, but with commit 9a5131b87cac1 ("s390/boot: move sclp early buffer from fixed address in asm to C") this is no longer required. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r--arch/s390/boot/head.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S
index 7e843d8e794e..5d3fc69a505c 100644
--- a/arch/s390/boot/head.S
+++ b/arch/s390/boot/head.S
@@ -400,5 +400,3 @@ SYM_DATA_START(parmarea)
.byte 0
.org PARMAREA+__PARMAREA_SIZE
SYM_DATA_END(parmarea)
-
- .org HEAD_END