kernel/arch/s390/kernel/os_info.c
.. .. @@ -15,6 +15,7 @@ 15 15 #include <asm/checksum.h> 16 16 #include <asm/lowcore.h> 17 17 #include <asm/os_info.h> 18 +#include <asm/asm-offsets.h>18 19 19 20 /* 20 21 * OS info structure has to be page aligned .. .. @@ -123,7 +124,7 @@ 123 124 return; 124 125 if (!OLDMEM_BASE) 125 126 goto fail; 126 - if (copy_oldmem_kernel(&addr, &S390_lowcore.os_info, sizeof(addr)))127 + if (copy_oldmem_kernel(&addr, (void *)__LC_OS_INFO, sizeof(addr)))127 128 goto fail; 128 129 if (addr == 0 || addr % PAGE_SIZE) 129 130 goto fail;