Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+2
+2
arch/powerpc/platforms/52xx/mpc52xx_pic.c
··· 547 547 if (!mpc52xx_irqhost) 548 548 panic(__FILE__ ": Cannot allocate the IRQ host\n"); 549 549 550 + irq_set_default_host(mpc52xx_irqhost); 551 + 550 552 pr_info("MPC52xx PIC is up and running!\n"); 551 553 } 552 554