diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-12-21 04:54:27 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2008-12-21 04:54:27 -0500 |
commit | dd952cbb3dae9ea2dc47cc902b796e1e2bf806f0 (patch) | |
tree | 51278ad68a805609bb97d051a968d49585584879 | |
parent | bcb73f5611c1946db768a1c219d205b3bf90f4a5 (diff) |
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>
-rw-r--r-- | arch/powerpc/platforms/52xx/mpc52xx_pic.c | 2 |
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 c2fa60e0c421..72865e8e4b51 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) | |||
547 | if (!mpc52xx_irqhost) | 547 | if (!mpc52xx_irqhost) |
548 | panic(__FILE__ ": Cannot allocate the IRQ host\n"); | 548 | panic(__FILE__ ": Cannot allocate the IRQ host\n"); |
549 | 549 | ||
550 | irq_set_default_host(mpc52xx_irqhost); | ||
551 | |||
550 | pr_info("MPC52xx PIC is up and running!\n"); | 552 | pr_info("MPC52xx PIC is up and running!\n"); |
551 | } | 553 | } |
552 | 554 | ||