From: Heiko Carstens Date: Thu, 4 Oct 2012 15:13:44 +0000 (+0200) Subject: s390/mm: let kernel text section always begin at 1MB X-Git-Tag: v3.7-rc1~62^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9be5f34f3f00828dfe4012578b6467a31f408eab;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git s390/mm: let kernel text section always begin at 1MB Let the kernel text section always begin at 1MB. This allows to always have a large frame in the identity mapping of the kernel image for beginning of the text section, if the machine has EDAT1 support. Moving the beginning from 64K to 1MB doesn't cost any memory, since we make the memory between 64K and 1MB available for the page allocator. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/head31.S b/arch/s390/kernel/head31.S index a1372ae..9a99856 100644 --- a/arch/s390/kernel/head31.S +++ b/arch/s390/kernel/head31.S @@ -78,10 +78,7 @@ ENTRY(startup_continue) ENTRY(_ehead) -#ifdef CONFIG_SHARED_KERNEL .org 0x100000 - 0x11000 # head.o ends at 0x11000 -#endif - # # startup-code, running in absolute addressing mode # diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S index c108af2..b9e25ae 100644 --- a/arch/s390/kernel/head64.S +++ b/arch/s390/kernel/head64.S @@ -76,10 +76,7 @@ ENTRY(startup_continue) ENTRY(_ehead) -#ifdef CONFIG_SHARED_KERNEL .org 0x100000 - 0x11000 # head.o ends at 0x11000 -#endif - # # startup-code, running in absolute addressing mode #