diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-07-20 09:12:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-07-20 09:12:57 +0000 |
commit | 5803e270058f05c62660e8fd49133461e4515a5c (patch) | |
tree | caab6fd729ad116b4622b02028261e2988b7aa6c /target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch | |
parent | 4a9d4271d0565841c530903707030d43daffa8eb (diff) | |
download | upstream-5803e270058f05c62660e8fd49133461e4515a5c.tar.gz upstream-5803e270058f05c62660e8fd49133461e4515a5c.tar.bz2 upstream-5803e270058f05c62660e8fd49133461e4515a5c.zip |
mpc85xx: add 3.10 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37472
Diffstat (limited to 'target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch')
-rw-r--r-- | target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch b/target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch new file mode 100644 index 0000000000..81b9193691 --- /dev/null +++ b/target/linux/mpc85xx/patches-3.10/120-mpc8548_cds_i8259_noirq_init.patch @@ -0,0 +1,23 @@ +--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c ++++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c +@@ -247,15 +247,16 @@ static int mpc85xx_cds_8259_attach(void) + return -ENODEV; + } + ++ i8259_init(cascade_node, 0); ++ of_node_put(cascade_node); ++ + cascade_irq = irq_of_parse_and_map(cascade_node, 0); + if (cascade_irq == NO_IRQ) { +- printk(KERN_ERR "Failed to map cascade interrupt\n"); ++ of_node_put(cascade_node); ++ printk(KERN_DEBUG "No interrupt for i8259 PIC\n"); + return -ENXIO; + } + +- i8259_init(cascade_node, 0); +- of_node_put(cascade_node); +- + /* + * Hook the interrupt to make sure desc->action is never NULL. + * This is required to ensure that the interrupt does not get |