From: Grant Likely Date: Sun, 21 Dec 2008 09:54:27 +0000 (-0700) Subject: powerpc/mpc5200: Make internal 5200 PIC the default interrupt controller X-Git-Tag: v2.6.29-rc1~574^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd952cbb3dae9ea2dc47cc902b796e1e2bf806f0;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Grant Likely --- 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"); }