summaryrefslogtreecommitdiff
path: root/arch/s390/boot
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-27 18:32:53 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-07-02 12:24:59 +0300
commitc949786450d6e19ef21f0837488a3dc1554131d6 (patch)
treef0a488519f9a504335fa48e5c3b866ab73d0a94a /arch/s390/boot
parent183ab05ff285555c56b7f00bb4fd52d80a9513fb (diff)
downloadlinux-c949786450d6e19ef21f0837488a3dc1554131d6.tar.xz
s390: correct _stext offset
Avoid unnecessary rewrite of psw and merge _stext into startup_continue. This allows to move _stext definition to vmlinux.lds.S, where _etext is also defined and set _stext to the actual beginning of .text at 0x100000. This fixes the problem with setting the last .text page as not-executable due to vmem_map_init relying on page alinged _stext and _etext. Fixes: bd79d6632958 ("s390/decompressor: trim the kernel image up to 1M") Reported-by: Nils Hoppmann <niho@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
0 files changed, 0 insertions, 0 deletions