s390/setup: remove unused symbolic constants for C code from setup.h
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Tue, 15 Jun 2021 10:57:31 +0000 (12:57 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:16 +0000 (09:39 +0200)
These symbolic constants are used only by assembler code now:
* COMMAND_LINE
* IPL_DEVICE

C code of the decompressed kernel should use boot data passed
by the decompressor instead.

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>
arch/s390/include/asm/setup.h

index 34baea528c01f03f9e3af9748494efaeae4fa4ac..41826ea8f8a9abce57032696e1038462d12a7580 100644 (file)
@@ -59,9 +59,6 @@
 #include <asm/lowcore.h>
 #include <asm/types.h>
 
-#define IPL_DEVICE     (*(unsigned long *)  (IPL_DEVICE_OFFSET))
-#define COMMAND_LINE   ((char *)            (COMMAND_LINE_OFFSET))
-
 struct parmarea {
        unsigned long ipl_device;                       /* 0x10400 */
        unsigned long initrd_start;                     /* 0x10408 */