summaryrefslogtreecommitdiff
path: root/arch/s390/boot/kaslr.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2022-04-23 22:31:22 +0300
committerHeiko Carstens <hca@linux.ibm.com>2022-05-06 21:45:14 +0300
commitedd4a8667355607345b76d5652adc0f300a28970 (patch)
treebd22f0aef11be6be7e55ea1d40ce6bccd3840fcf /arch/s390/boot/kaslr.c
parent964bc5dbe602a62b7bbd67624c4b8f7a4ea692b2 (diff)
downloadlinux-edd4a8667355607345b76d5652adc0f300a28970.tar.xz
s390/boot: get rid of startup archive
The final kernel image is created by linking decompressor object files with a startup archive. The startup archive file however does not contain only optional code and data which can be discarded if not referenced. It also contains mandatory object data like head.o which must never be discarded, even if not referenced. Move the decompresser code and linker script to the boot directory and get rid of the startup archive so everything is kept during link time. Acked-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/kaslr.c')
-rw-r--r--arch/s390/boot/kaslr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/kaslr.c b/arch/s390/boot/kaslr.c
index d8984462071f..e8d74d4f62aa 100644
--- a/arch/s390/boot/kaslr.c
+++ b/arch/s390/boot/kaslr.c
@@ -8,7 +8,7 @@
#include <asm/timex.h>
#include <asm/sclp.h>
#include <asm/kasan.h>
-#include "compressed/decompressor.h"
+#include "decompressor.h"
#include "boot.h"
#define PRNG_MODE_TDES 1