diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-06-12 15:11:40 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-06-25 10:14:38 +0200 |
commit | bd79d66329580d6c3fd9556423d2e5124906cfdd (patch) | |
tree | 55f935b9009565849faa6100e1551c4f6ac2999b /arch/s390/kernel | |
parent | s390: remove uncompressed kernel image build (diff) | |
download | linux-bd79d66329580d6c3fd9556423d2e5124906cfdd.tar.xz linux-bd79d66329580d6c3fd9556423d2e5124906cfdd.zip |
s390/decompressor: trim the kernel image up to 1M
Move head64.S main kernel entry point "startup_continue" to 0x100000 and
trim everything which is below 1M during build. So, that the decompressor
would unpack the main kernel image, move it to 0x100000 and jump to
startup_continue.
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/kernel')
-rw-r--r-- | arch/s390/kernel/head64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index 791cb9000e86..53e5cb0d6f7f 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S @@ -16,6 +16,7 @@ #include <asm/page.h> __HEAD + .org 0x100000 - 0x11000 # head.o ends at 0x11000 ENTRY(startup_continue) tm __LC_STFLE_FAC_LIST+5,0x80 # LPP available ? jz 0f @@ -88,7 +89,6 @@ ENTRY(startup_continue) ENTRY(_ehead) - .org 0x100000 - 0x11000 # head.o ends at 0x11000 # # startup-code, running in absolute addressing mode # |