arm64: prefer __section from compiler_attributes.h
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 12 Aug 2019 21:50:45 +0000 (14:50 -0700)
committerWill Deacon <will@kernel.org>
Tue, 13 Aug 2019 17:32:15 +0000 (18:32 +0100)
commit80d838122643a09a9f99824adea4b4261e4451e6
tree26543584d8c5a700c1d366cefe309cd91cca6e6e
parent08f103b9a9502974109fab47ea35ca8542c4e57a
arm64: prefer __section from compiler_attributes.h

GCC unescapes escaped string section names while Clang does not. Because
__section uses the `#` stringification operator for the section name, it
doesn't need to be escaped.

This antipattern was found with:
$ grep -e __section\(\" -e __section__\(\" -r

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: Will Deacon <will@kernel.org>
arch/arm64/include/asm/cache.h
arch/arm64/kernel/smp_spin_table.c