Skip to content

Commit

Permalink
powerpc/mpc5200: Make internal 5200 PIC the default interrupt controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Grant Likely committed Dec 21, 2008
1 parent bcb73f5 commit dd952cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/52xx/mpc52xx_pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit dd952cb

Please sign in to comment.