1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/mips/include/asm/mach-loongson64
Paul Cercueil 67512a8cf5 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>
2021-09-23 11:23:35 +02:00
..
boot_param.h MIPS: Loongson64: Move loongson_system_configuration to loongson.h 2021-03-12 11:09:58 +01:00
builtin_dtbs.h MIPS: Loongson64: DeviceTree for Loongson-2K1000 2021-03-25 10:44:00 +01:00
cpu-feature-overrides.h MIPS: Loongson64: Do not override watch and ejtag feature 2020-08-17 12:50:59 +02:00
cpucfg-emul.h MIPS: Loongson64: Guard against future cores without CPUCFG 2020-05-31 10:52:42 +02:00
irq.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
kernel-entry-init.h MIPS: Loongson64: Add kexec/kdump support 2021-04-16 09:18:06 +02:00
loongson.h MIPS: Loongson64: Distinguish firmware dependencies DTB/LEFI 2021-03-25 10:44:01 +01:00
loongson_hwmon.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
loongson_regs.h MIPS: Avoid macro redefinitions 2021-09-23 11:23:35 +02:00
mmzone.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
pci.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
spaces.h MIPS: Loongson64: Enlarge IO_SPACE_LIMIT 2020-07-28 22:49:53 +02:00
topology.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
workarounds.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00