summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/ldcw.h
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2019-08-12 14:50:36 -0700
committerHelge Deller <deller@gmx.de>2019-10-14 21:44:07 +0200
commit0703ad217ebd441dd730af71f8d9cdbf144fbc03 (patch)
tree5305899521ceb7c77680ed307fde47d36af33642 /arch/parisc/include/asm/ldcw.h
parentb67114db64adcb0aaff0fe0bb2a84ede0a99aaf2 (diff)
parisc: prefer __section from compiler_attributes.h
Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Suggested-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm/ldcw.h')
-rw-r--r--arch/parisc/include/asm/ldcw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/ldcw.h b/arch/parisc/include/asm/ldcw.h
index 3eb4bfc1fb36..e080143e79a3 100644
--- a/arch/parisc/include/asm/ldcw.h
+++ b/arch/parisc/include/asm/ldcw.h
@@ -52,7 +52,7 @@
})
#ifdef CONFIG_SMP
-# define __lock_aligned __attribute__((__section__(".data..lock_aligned")))
+# define __lock_aligned __section(.data..lock_aligned)
#endif
#endif /* __PARISC_LDCW_H */