diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-02 12:51:45 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-08 09:47:54 +0100 |
commit | 978fa72e82e375764e6e31e7a721408c5186918f (patch) | |
tree | 97daef99cbf741988930e3dfff70081bbdeeb808 /arch/s390/kernel/vmlinux.lds.S | |
parent | f44fa88745eda1530083b361e300e1ca4e15a6c5 (diff) | |
download | linux-stable-978fa72e82e375764e6e31e7a721408c5186918f.tar.gz linux-stable-978fa72e82e375764e6e31e7a721408c5186918f.tar.bz2 linux-stable-978fa72e82e375764e6e31e7a721408c5186918f.zip |
s390: remove named saved segment support
Remove the support to create a z/VM named saved segment (NSS). This
feature is not supported since quite a while in favour of jump labels,
function tracing and (now) CPU alternatives. All of these features
require to write to the kernel text section which is not possible if
the kernel is contained within an NSS.
Given that memory savings are minimal if kernel images are shared and
in addition updates of shared images are painful, the NSS feature can
be removed.
Reviewed-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/s390/kernel/vmlinux.lds.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 7c9fcf7cb43d..a609d65afc56 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S @@ -59,12 +59,7 @@ SECTIONS RO_DATA_SECTION(PAGE_SIZE) -#ifdef CONFIG_SHARED_KERNEL - . = ALIGN(0x100000); /* VM shared segments are 1MB aligned */ -#endif - . = ALIGN(PAGE_SIZE); - _eshared = .; /* End of shareable data */ _sdata = .; /* Start of data section */ . = ALIGN(PAGE_SIZE); |