diff options
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/lowcore.h | 1 | ||||
-rw-r--r-- | include/asm-s390/setup.h | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-s390/lowcore.h b/include/asm-s390/lowcore.h index 2e3d4cca5e21..18695d10dedf 100644 --- a/include/asm-s390/lowcore.h +++ b/include/asm-s390/lowcore.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #define __LC_IO_NEW_PSW 0x01f0 | 35 | #define __LC_IO_NEW_PSW 0x01f0 |
36 | #endif /* !__s390x__ */ | 36 | #endif /* !__s390x__ */ |
37 | 37 | ||
38 | #define __LC_IPL_PARMBLOCK_PTR 0x014 | ||
38 | #define __LC_EXT_PARAMS 0x080 | 39 | #define __LC_EXT_PARAMS 0x080 |
39 | #define __LC_CPU_ADDRESS 0x084 | 40 | #define __LC_CPU_ADDRESS 0x084 |
40 | #define __LC_EXT_INT_CODE 0x086 | 41 | #define __LC_EXT_INT_CODE 0x086 |
diff --git a/include/asm-s390/setup.h b/include/asm-s390/setup.h index 4a1126d8439a..00c03e46689b 100644 --- a/include/asm-s390/setup.h +++ b/include/asm-s390/setup.h | |||
@@ -125,13 +125,15 @@ struct ipl_parameter_block { | |||
125 | /* | 125 | /* |
126 | * IPL validity flags and parameters as detected in head.S | 126 | * IPL validity flags and parameters as detected in head.S |
127 | */ | 127 | */ |
128 | extern u32 ipl_parameter_flags; | 128 | extern u32 ipl_flags; |
129 | extern u16 ipl_devno; | 129 | extern u16 ipl_devno; |
130 | 130 | ||
131 | void do_reipl(void); | 131 | void do_reipl(void); |
132 | 132 | ||
133 | #define IPL_DEVNO_VALID (ipl_parameter_flags & 1) | 133 | enum { |
134 | #define IPL_PARMBLOCK_VALID (ipl_parameter_flags & 2) | 134 | IPL_DEVNO_VALID = 1, |
135 | IPL_PARMBLOCK_VALID = 2, | ||
136 | }; | ||
135 | 137 | ||
136 | #define IPL_PARMBLOCK_START ((struct ipl_parameter_block *) \ | 138 | #define IPL_PARMBLOCK_START ((struct ipl_parameter_block *) \ |
137 | IPL_PARMBLOCK_ORIGIN) | 139 | IPL_PARMBLOCK_ORIGIN) |