summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorVasily Gorbik2018-06-27 17:10:14 +0200
committerMartin Schwidefsky2018-07-02 11:24:58 +0200
commit183ab05ff285555c56b7f00bb4fd52d80a9513fb (patch)
treede41bc46e49ae9c232a7402ac5d68ea78b2356ac /arch/s390/kernel
parents390: remove unused _ehead symbol (diff)
downloadkernel-qcow2-linux-183ab05ff285555c56b7f00bb4fd52d80a9513fb.tar.gz
kernel-qcow2-linux-183ab05ff285555c56b7f00bb4fd52d80a9513fb.tar.xz
kernel-qcow2-linux-183ab05ff285555c56b7f00bb4fd52d80a9513fb.zip
s390: get rid of the first mb of uncompressed image
Instead of generating uncompressed kernel image starting at 0, filling first mb with zeros (with ".org 0x100000") and then trimming it off from vmlinux.bin before compression, simply generate a kernel image starting from 0x100000. 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.S1
-rw-r--r--arch/s390/kernel/vmlinux.lds.S2
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index 161b795d3109..6f43faeaaf32 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -16,7 +16,6 @@
#include <asm/page.h>
__HEAD
- .org 0x100000
ENTRY(startup_continue)
tm __LC_STFLE_FAC_LIST+5,0x80 # LPP available ?
jz 0f
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
index 51adfe251bcd..35f7ca8a1685 100644
--- a/arch/s390/kernel/vmlinux.lds.S
+++ b/arch/s390/kernel/vmlinux.lds.S
@@ -30,7 +30,7 @@ PHDRS {
SECTIONS
{
- . = 0x00000000;
+ . = 0x100000;
.text : {
/* Text and read-only data */
HEAD_TEXT