aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.vnet.ibm.com>2018-02-20 11:12:30 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-02-27 08:05:21 +0100
commit3ad6b250130de368066c5d6d7ebfdc328f655118 (patch)
tree2eba5db8b2ea0979331d6f41405cee56186d71eb
parents390: fix comment for scsw_cmd_is_valid_sctl (diff)
downloadlinux-dev-3ad6b250130de368066c5d6d7ebfdc328f655118.tar.xz
linux-dev-3ad6b250130de368066c5d6d7ebfdc328f655118.zip
s390/decompressor: discard __ex_table section
Exception table (__ex_table section) is not used during the decompressor phase and could be discarded to save the memory. It is currently generated due to sclp_service_call function (sclp_early_core.c). An assumption is that decompressor usage of sclp_service_call via sclp_early_printk should never trigger exceptions. Signed-off-by: Vasily Gorbik <gor@linux.vnet.ibm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/boot/compressed/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/boot/compressed/vmlinux.lds.S b/arch/s390/boot/compressed/vmlinux.lds.S
index 8150132b144f..d43c2db12d30 100644
--- a/arch/s390/boot/compressed/vmlinux.lds.S
+++ b/arch/s390/boot/compressed/vmlinux.lds.S
@@ -52,6 +52,7 @@ SECTIONS
/* Sections to be discarded */
/DISCARD/ : {
*(.eh_frame)
+ *(__ex_table)
*(*__ksymtab*)
}
}