summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2020-06-01 09:45:27 +0200
committerIngo Molnar <mingo@kernel.org>2020-06-01 09:48:52 +0200
commitd77aeb5d403d379ff458e04fc07b5b86700270f2 (patch)
tree2678ffe22a43040d072bba9ca9c74934776ff798 /drivers/base
parent76fe06c1e68b8f8dfb63d5b268623830dcb16ed0 (diff)
downloadlinux-d77aeb5d403d379ff458e04fc07b5b86700270f2.tar.bz2
irqchip: Fix "Loongson HyperTransport Vector support" driver build on all non-MIPS platforms
This commit: 818e915fbac5: ("irqchip: Add Loongson HyperTransport Vector support") Added a MIPS-only driver, but turned on compilation on all other architectures as well: config LOONGSON_HTVEC bool "Loongson3 HyperTransport Interrupt Vector Controller" depends on MACH_LOONGSON64 || COMPILE_TEST But this driver was never build tested on any other architecture than MIPS: drivers/irqchip/irq-loongson-htvec.c: In function ‘htvec_irq_dispatch’: drivers/irqchip/irq-loongson-htvec.c:59:3: error: implicit declaration of function ‘spurious_interrupt’; did you mean ‘smp_reboot_interrupt’? [-Werror=implicit-function-declaration] Because spurious_interrupt() only exists on MIPS. So make it MIPS-only. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Marc Zyngier <maz@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions