~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/85xx/mpc85xx_ds.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#ifdef CONFIG_PPC_I8259
48
48
static void mpc85xx_8259_cascade(unsigned int irq, struct irq_desc *desc)
49
49
{
 
50
        struct irq_chip *chip = irq_desc_get_chip(desc);
50
51
        unsigned int cascade_irq = i8259_irq();
51
52
 
52
53
        if (cascade_irq != NO_IRQ) {
53
54
                generic_handle_irq(cascade_irq);
54
55
        }
55
 
        desc->chip->eoi(irq);
 
56
        chip->irq_eoi(&desc->irq_data);
56
57
}
57
58
#endif  /* CONFIG_PPC_I8259 */
58
59
 
121
122
        i8259_init(cascade_node, 0);
122
123
        of_node_put(cascade_node);
123
124
 
124
 
        set_irq_chained_handler(cascade_irq, mpc85xx_8259_cascade);
 
125
        irq_set_chained_handler(cascade_irq, mpc85xx_8259_cascade);
125
126
#endif  /* CONFIG_PPC_I8259 */
126
127
}
127
128