summaryrefslogtreecommitdiff
path: root/arch/mips/sni
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2021-09-14 00:34:15 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-09-23 12:23:35 +0300
commit67512a8cf5a730938fdb1e48de33edfef6015e03 (patch)
tree2e410eb7552601c13b9f8762f66304cfde66d7c7 /arch/mips/sni
parent8e16049333e4c57a3a09cbed03c1191380e27133 (diff)
downloadlinux-67512a8cf5a730938fdb1e48de33edfef6015e03.tar.xz
MIPS: Avoid macro redefinitions
To be able to compile the kernel with LTO, the assembler macros cannot be declared in the global scope, or the compiler will complain about redefined macros. Update the code so that macros are defined then undefined when they are used. Note that virt support was added in 2.24 and xpa in 2.25. So we still need the TOOLCHAIN defines for them. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/sni')
0 files changed, 0 insertions, 0 deletions