Browse Source

ARM: VExpress: convert to CONFIG_MULTI_IRQ_HANDLER

Convert the VExpress platform to be using the gic_handle_irq
function as its primary interrupt handler.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Marc Zyngier 13 years ago
parent
commit
abd3ca51fb

+ 1 - 0
arch/arm/Kconfig

@@ -311,6 +311,7 @@ config ARCH_VEXPRESS
 	select ICST
 	select ICST
 	select PLAT_VERSATILE
 	select PLAT_VERSATILE
 	select PLAT_VERSATILE_CLCD
 	select PLAT_VERSATILE_CLCD
+	select MULTI_IRQ_HANDLER
 	help
 	help
 	  This enables support for the ARM Ltd Versatile Express boards.
 	  This enables support for the ARM Ltd Versatile Express boards.
 
 

+ 0 - 2
arch/arm/mach-vexpress/include/mach/entry-macro.S

@@ -1,5 +1,3 @@
-#include <asm/hardware/entry-macro-gic.S>
-
 	.macro	disable_fiq
 	.macro	disable_fiq
 	.endm
 	.endm
 
 

+ 2 - 0
arch/arm/mach-vexpress/v2m.c

@@ -23,6 +23,7 @@
 #include <asm/hardware/arm_timer.h>
 #include <asm/hardware/arm_timer.h>
 #include <asm/hardware/timer-sp.h>
 #include <asm/hardware/timer-sp.h>
 #include <asm/hardware/sp810.h>
 #include <asm/hardware/sp810.h>
+#include <asm/hardware/gic.h>
 
 
 #include <mach/ct-ca9x4.h>
 #include <mach/ct-ca9x4.h>
 #include <mach/motherboard.h>
 #include <mach/motherboard.h>
@@ -448,5 +449,6 @@ MACHINE_START(VEXPRESS, "ARM-Versatile Express")
 	.init_early	= v2m_init_early,
 	.init_early	= v2m_init_early,
 	.init_irq	= v2m_init_irq,
 	.init_irq	= v2m_init_irq,
 	.timer		= &v2m_timer,
 	.timer		= &v2m_timer,
+	.handle_irq	= gic_handle_irq,
 	.init_machine	= v2m_init,
 	.init_machine	= v2m_init,
 MACHINE_END
 MACHINE_END