summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-12-21 02:54:27 -0700
committerGrant Likely <grant.likely@secretlab.ca>2008-12-21 02:54:27 -0700
commitdd952cbb3dae9ea2dc47cc902b796e1e2bf806f0 (patch)
tree51278ad68a805609bb97d051a968d49585584879 /arch
parentbcb73f5611c1946db768a1c219d205b3bf90f4a5 (diff)
downloadop-kernel-dev-dd952cbb3dae9ea2dc47cc902b796e1e2bf806f0.zip
op-kernel-dev-dd952cbb3dae9ea2dc47cc902b796e1e2bf806f0.tar.gz
powerpc/mpc5200: Make internal 5200 PIC the default interrupt controller
The MPC5200 internal interrupt controller setup function needs to set the default interrupt controller when it is called. Without this irq_create_of_mapping() cannot be called without first determining the pointer to the irq controller (ie. call with controller = NULL). Reported-by: Steven Cavanagh <scavanagh@secretlab.ca> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/52xx/mpc52xx_pic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_pic.c b/arch/powerpc/platforms/52xx/mpc52xx_pic.c
index c2fa60e..72865e8 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_pic.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_pic.c
@@ -547,6 +547,8 @@ void __init mpc52xx_init_irq(void)
if (!mpc52xx_irqhost)
panic(__FILE__ ": Cannot allocate the IRQ host\n");
+ irq_set_default_host(mpc52xx_irqhost);
+
pr_info("MPC52xx PIC is up and running!\n");
}
OpenPOWER on IntegriCloud