diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-04-25 22:24:56 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2022-05-06 21:45:15 +0300 |
commit | f84d88ed3beb7fc2b4549e4c213ad428c0be9029 (patch) | |
tree | 2a54b7a71af0d0c572c97b688d733a71b5302e85 /arch/s390/boot/ipl_data.c | |
parent | 834979c27f5281f37ae9ce5191134f26ae7b9fd0 (diff) | |
download | linux-f84d88ed3beb7fc2b4549e4c213ad428c0be9029.tar.xz |
s390/boot: convert parmarea to C
Convert parmarea to C, which makes it much easier to initialize it. No need
to keep offsets in assembler code in sync with struct parmarea anymore.
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/boot/ipl_data.c')
-rw-r--r-- | arch/s390/boot/ipl_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/boot/ipl_data.c b/arch/s390/boot/ipl_data.c index 90749e3b2fa6..0846e2b249c6 100644 --- a/arch/s390/boot/ipl_data.c +++ b/arch/s390/boot/ipl_data.c @@ -44,7 +44,7 @@ struct ipl_lowcore { * that to succeed the two initial CCWs, and the 0x40 fill bytes must * be present. */ -struct ipl_lowcore ipl_lowcore __section(".ipldata") = { +static struct ipl_lowcore ipl_lowcore __used __section(".ipldata") = { .ipl_psw = { .mask = PSW32_MASK_BASE, .addr = PSW32_ADDR_AMODE | IPL_START }, .ccwpgm = { [ 0] = CCW0(CCW_CMD_READ_IPL, 0x018, 0x50, CCW_FLAG_SLI | CCW_FLAG_CC), |