diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-09-30 09:34:13 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-26 15:21:30 +0200 |
commit | 277c8389386e2ccb8417afe4e36f67fc5dcd735d (patch) | |
tree | 4c7208c1d92da854cf71e5c4943548e66a0ef929 /mm/filemap.c | |
parent | s390/pci: add s390_iommu_aperture kernel parameter (diff) | |
download | linux-277c8389386e2ccb8417afe4e36f67fc5dcd735d.tar.xz linux-277c8389386e2ccb8417afe4e36f67fc5dcd735d.zip |
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 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions