Skip to content

Commit d77aeb5

Browse files
author
Ingo Molnar
committed
irqchip: Fix "Loongson HyperTransport Vector support" driver build on all non-MIPS platforms
This commit: 818e915: ("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 <[email protected]> Cc: Jiaxun Yang <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent 76fe06c commit d77aeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ config LOONGSON_HTPIC
534534

535535
config LOONGSON_HTVEC
536536
bool "Loongson3 HyperTransport Interrupt Vector Controller"
537-
depends on MACH_LOONGSON64 || COMPILE_TEST
537+
depends on MACH_LOONGSON64
538538
default MACH_LOONGSON64
539539
select IRQ_DOMAIN_HIERARCHY
540540
help

0 commit comments

Comments
 (0)