aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-06-07 10:23:07 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-06-13 15:58:23 +0200
commit72a9b02d3b55d5ffeb4a00ad99b2c2471ebfa23c (patch)
treeee72a10b0e42ff7dba596f15840a93c81bcd5402 /arch/s390/kernel/ipl.c
parents390: add proper __ro_after_init support (diff)
downloadlinux-dev-72a9b02d3b55d5ffeb4a00ad99b2c2471ebfa23c.tar.xz
linux-dev-72a9b02d3b55d5ffeb4a00ad99b2c2471ebfa23c.zip
s390: use __section macro everywhere
Small cleanup patch to use the shorter __section macro everywhere. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r--arch/s390/kernel/ipl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index f20abdb5630a..a6d2a998e328 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -121,9 +121,9 @@ static char *dump_type_str(enum dump_type type)
* Must be in data section since the bss section
* is not cleared when these are accessed.
*/
-static u8 ipl_ssid __attribute__((__section__(".data"))) = 0;
-static u16 ipl_devno __attribute__((__section__(".data"))) = 0;
-u32 ipl_flags __attribute__((__section__(".data"))) = 0;
+static u8 ipl_ssid __section(.data) = 0;
+static u16 ipl_devno __section(.data) = 0;
+u32 ipl_flags __section(.data) = 0;
enum ipl_method {
REIPL_METHOD_CCW_CIO,