diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2019-08-12 14:50:35 -0700 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-08-26 22:37:12 +0530 |
commit | 2f029413cbfbfe519d294c6ac83a0c00e2a48a97 (patch) | |
tree | bbeb85927c0ba8f935340f39a7975803d75457cb /arch/arc/include/asm/mach_desc.h | |
parent | dt-bindings: IDU-intc: Add support for edge-triggered interrupts (diff) | |
download | linux-dev-2f029413cbfbfe519d294c6ac83a0c00e2a48a97.tar.xz linux-dev-2f029413cbfbfe519d294c6ac83a0c00e2a48a97.zip |
arc: 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: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to '')
-rw-r--r-- | arch/arc/include/asm/mach_desc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arc/include/asm/mach_desc.h b/arch/arc/include/asm/mach_desc.h index 8ac0e2ac3e70..73746ed5b834 100644 --- a/arch/arc/include/asm/mach_desc.h +++ b/arch/arc/include/asm/mach_desc.h @@ -53,8 +53,7 @@ extern const struct machine_desc __arch_info_begin[], __arch_info_end[]; */ #define MACHINE_START(_type, _name) \ static const struct machine_desc __mach_desc_##_type \ -__used \ -__attribute__((__section__(".arch.info.init"))) = { \ +__used __section(.arch.info.init) = { \ .name = _name, #define MACHINE_END \ |