powerpc/mpc5200: Make internal 5200 PIC the default interrupt controller

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, December 28, 2008 - 6:04 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=dd952c...
Commit:     dd952cbb3dae9ea2dc47cc902b796e1e2bf806f0
Parent:     bcb73f5611c1946db768a1c219d205b3bf90f4a5
Author:     Grant Likely <grant.likely@secretlab.ca>
AuthorDate: Sun Dec 21 02:54:27 2008 -0700
Committer:  Grant Likely <grant.likely@secretlab.ca>
CommitDate: Sun Dec 21 02:54:27 2008 -0700

    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>
---
 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 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");
 }
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
powerpc/mpc5200: Make internal 5200 PIC the default interr ..., Linux Kernel Mailing ..., (Sun Dec 28, 6:04 pm)