summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/setup.h
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-07-21 13:27:59 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 10:39:16 +0300
commit455cac5028c410345d161344a3860f2a7b636885 (patch)
treedd151a39ac13492ded592f4d58e885e815ffdf95 /arch/s390/include/asm/setup.h
parentf4cb3c9bd041e873ea2a155c0f95fbfab6c3b34c (diff)
downloadlinux-455cac5028c410345d161344a3860f2a7b636885.tar.xz
s390/setup: generate asm offsets from struct parmarea
To reduce duplication, replace error-prone and hard-coded parameter area offsets with auto-generated ones. Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/setup.h')
-rw-r--r--arch/s390/include/asm/setup.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/s390/include/asm/setup.h b/arch/s390/include/asm/setup.h
index 79d833a690b8..9c11028a2d0b 100644
--- a/arch/s390/include/asm/setup.h
+++ b/arch/s390/include/asm/setup.h
@@ -44,15 +44,6 @@
#define STARTUP_NORMAL_OFFSET 0x10000
#define STARTUP_KDUMP_OFFSET 0x10010
-/* Offsets to parameters in kernel/head.S */
-
-#define IPL_DEVICE 0x10400
-#define INITRD_START 0x10408
-#define INITRD_SIZE 0x10410
-#define OLDMEM_BASE 0x10418
-#define OLDMEM_SIZE 0x10420
-#define COMMAND_LINE 0x10480
-
#ifndef __ASSEMBLY__
#include <asm/lowcore.h>