]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
s390/sclp: clean up unneeded .data section usage
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 16 Sep 2020 10:06:02 +0000 (12:06 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 21 Sep 2020 06:07:44 +0000 (08:07 +0200)
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>
drivers/s390/char/sclp_early_core.c

index 7737470f8498f35319721d666249e23e546c2ce4..958621326ece7645d37dcae4fefc02c55b52b541 100644 (file)
 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)
 {