summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2024-05-05 13:47:10 +0300
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-05-05 13:51:44 +0300
commit1812dc9c334f98227c65bc9c475f16fb6840a94b (patch)
tree560baf3cba03874a701040dcc9dffdbe809329ca /arch/s390
parent22a49f6d30c4411d404d5f99a7390b2eb57bcbac (diff)
downloadlinux-1812dc9c334f98227c65bc9c475f16fb6840a94b.tar.xz
Revert "s390: Relocate vmlinux ELF data to virtual address space"
This reverts commit 9ecaa2e94e602a3cbcbfe182535f6297f7630b98. In case CONFIG_MODULES kernel option is not defined the build fails with the following linker error: block/partitions/ibm.o: in function `ibm_partition': ibm.c:(.text+0x8bc): relocation truncated to fit: R_390_PLT32DBL against undefined symbol `dasd_biodasdinfo' Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/page.h b/arch/s390/include/asm/page.h
index 7880b7b3173e..224ff9d433ea 100644
--- a/arch/s390/include/asm/page.h
+++ b/arch/s390/include/asm/page.h
@@ -276,8 +276,8 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
#define AMODE31_SIZE (3 * PAGE_SIZE)
#define KERNEL_IMAGE_SIZE (512 * 1024 * 1024)
-#define __START_KERNEL CONFIG_KERNEL_IMAGE_BASE
-#define __NO_KASLR_START_KERNEL __START_KERNEL
+#define __START_KERNEL 0x100000
+#define __NO_KASLR_START_KERNEL CONFIG_KERNEL_IMAGE_BASE
#define __NO_KASLR_END_KERNEL (__NO_KASLR_START_KERNEL + KERNEL_IMAGE_SIZE)
#endif /* _S390_PAGE_H */