summaryrefslogtreecommitdiff
path: root/arch/s390/boot/compressed/vmlinux.scr.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/boot/compressed/vmlinux.scr.lds.S')
-rw-r--r--arch/s390/boot/compressed/vmlinux.scr.lds.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/boot/compressed/vmlinux.scr.lds.S b/arch/s390/boot/compressed/vmlinux.scr.lds.S
index 42a242597f34..ff01d18c9222 100644
--- a/arch/s390/boot/compressed/vmlinux.scr.lds.S
+++ b/arch/s390/boot/compressed/vmlinux.scr.lds.S
@@ -2,10 +2,14 @@
SECTIONS
{
.rodata.compressed : {
+#ifndef CONFIG_KERNEL_UNCOMPRESSED
input_len = .;
LONG(input_data_end - input_data) input_data = .;
+#endif
*(.data)
+#ifndef CONFIG_KERNEL_UNCOMPRESSED
output_len = . - 4;
input_data_end = .;
+#endif
}
}