summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-07-21 16:47:20 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:16 +0200
commit6a24d4666f4308e7e7f00bbe7e047dae5499a13d (patch)
tree2b7b5e41c7980de1a2e132f009a69be929c911a7
parents390/setup: generate asm offsets from struct parmarea (diff)
downloadlinux-6a24d4666f4308e7e7f00bbe7e047dae5499a13d.tar.xz
linux-6a24d4666f4308e7e7f00bbe7e047dae5499a13d.zip
s390/boot: move EP_OFFSET and EP_STRING to head.S
Both macros are used only in decompressor's head.S, unnecessary to put them in a global header used in many places like setup.h is. 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>
-rw-r--r--arch/s390/boot/head.S3
-rw-r--r--arch/s390/include/asm/setup.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/boot/head.S b/arch/s390/boot/head.S
index 759f77c6af45..63a139a2f503 100644
--- a/arch/s390/boot/head.S
+++ b/arch/s390/boot/head.S
@@ -31,6 +31,9 @@
#define ARCH_OFFSET 4
+#define EP_OFFSET 0x10008
+#define EP_STRING "S390EP"
+
__HEAD
#define IPL_BS 0x730
diff --git a/arch/s390/include/asm/setup.h b/arch/s390/include/asm/setup.h
index 9c11028a2d0b..b5bf743801d4 100644
--- a/arch/s390/include/asm/setup.h
+++ b/arch/s390/include/asm/setup.h
@@ -10,8 +10,6 @@
#include <uapi/asm/setup.h>
#include <linux/build_bug.h>
-#define EP_OFFSET 0x10008
-#define EP_STRING "S390EP"
#define PARMAREA 0x10400
#define HEAD_END 0x11000