Commit 1812dc9c authored by Alexander Gordeev's avatar Alexander Gordeev
Browse files

Revert "s390: Relocate vmlinux ELF data to virtual address space"



This reverts commit 9ecaa2e9.

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: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent 22a49f6d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */