From 858ba703e842f4ece6680b45862ee9e6e6297d1e Mon Sep 17 00:00:00 2001 From: Barry Song Date: Sun, 4 Sep 2011 22:15:18 -0700 Subject: [PATCH] ARM: CSR: IRQ: add simple irq_domain so that hw irq can map to Linux Signed-off-by: Barry Song --- arch/arm/mach-prima2/irq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-prima2/irq.c b/arch/arm/mach-prima2/irq.c index 7af254d..cf80a72 100644 --- a/arch/arm/mach-prima2/irq.c +++ b/arch/arm/mach-prima2/irq.c @@ -13,6 +13,7 @@ #include #include #include +#include #define SIRFSOC_INT_RISC_MASK0 0x0018 #define SIRFSOC_INT_RISC_MASK1 0x001C @@ -66,6 +67,8 @@ void __init sirfsoc_of_irq_init(void) if (!sirfsoc_intc_base) panic("unable to map intc cpu registers\n"); + irq_domain_add_simple(np, 0); + of_node_put(np); sirfsoc_irq_init(); -- 2.7.4