s390/decompressor: trim the kernel image up to 1M
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 12 Jun 2018 13:11:40 +0000 (15:11 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Jun 2018 08:14:38 +0000 (10:14 +0200)
commitbd79d66329580d6c3fd9556423d2e5124906cfdd
tree55f935b9009565849faa6100e1551c4f6ac2999b
parent00f2fb573fdc3c21f3b7266a4a8758a85943edfb
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>
arch/s390/boot/compressed/Makefile
arch/s390/boot/compressed/head.S
arch/s390/kernel/head64.S