aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/realview_eb.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2007-02-14 13:14:56 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-15 09:44:10 -0500
commitb3a1bde4db9889feb116330bff21214811c940e4 (patch)
tree6b8174332407ac8f4d2c5f6445912b935ff06110 /arch/arm/mach-realview/realview_eb.c
parentae0a846e411dc0b568e8ccda584896310ee5f369 (diff)
[ARM] 4108/2: Allow multiple GIC interrupt controllers in a system
The current implementation only assumes one GIC to be present in the system. However, there are platforms with more than one cascaded interrupt controllers (RealView/EB MPCore for example). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_eb.c')
-rw-r--r--arch/arm/mach-realview/realview_eb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 9741b4d3c9cf..b6a6f68cb699 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -143,8 +143,8 @@ static void __init gic_init_irq(void)
143 writel(pldctrl, __io_address(REALVIEW_SYS_BASE) + 0xd8); 143 writel(pldctrl, __io_address(REALVIEW_SYS_BASE) + 0xd8);
144 writel(0x00000000, __io_address(REALVIEW_SYS_LOCK)); 144 writel(0x00000000, __io_address(REALVIEW_SYS_LOCK));
145#endif 145#endif
146 gic_dist_init(__io_address(REALVIEW_GIC_DIST_BASE)); 146 gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29);
147 gic_cpu_init(__io_address(REALVIEW_GIC_CPU_BASE)); 147 gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE));
148} 148}
149 149
150static void __init realview_eb_init(void) 150static void __init realview_eb_init(void)