diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-16 12:06:02 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-21 08:07:44 +0200 |
commit | 14ab622432415326ab832441ec5d19003a3b1176 (patch) | |
tree | 46e760b6254b27f7be6295f5db594db21eea2c9d /drivers | |
parent | bcf1650c9b826602ad860f4465a3b66be611508a (diff) | |
download | linux-stable-14ab622432415326ab832441ec5d19003a3b1176.tar.gz linux-stable-14ab622432415326ab832441ec5d19003a3b1176.tar.bz2 linux-stable-14ab622432415326ab832441ec5d19003a3b1176.zip |
s390/sclp: clean up unneeded .data section usage
Since commit 980d5f9ab36b ("s390/boot: enable .bss section for compressed
kernel") .bss section usage is no longer restricted. .bss section is a
part of the decompressor's image and is zeroed by the linker. For that
reason clean up now unneeded .data section usage.
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/sclp_early_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/sclp_early_core.c b/drivers/s390/char/sclp_early_core.c index 7737470f8498..958621326ece 100644 --- a/drivers/s390/char/sclp_early_core.c +++ b/drivers/s390/char/sclp_early_core.c @@ -17,12 +17,12 @@ static struct read_info_sccb __bootdata(sclp_info_sccb); static int __bootdata(sclp_info_sccb_valid); char *sclp_early_sccb = (char *) EARLY_SCCB_OFFSET; -int sclp_init_state __section(.data) = sclp_init_state_uninitialized; +int sclp_init_state = sclp_init_state_uninitialized; /* * Used to keep track of the size of the event masks. Qemu until version 2.11 * only supports 4 and needs a workaround. */ -bool sclp_mask_compat_mode __section(.data); +bool sclp_mask_compat_mode; void sclp_early_wait_irq(void) { |