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

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/85xx/ksi8560.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:
56
56
 
57
57
static void cpm2_cascade(unsigned int irq, struct irq_desc *desc)
58
58
{
 
59
        struct irq_chip *chip = irq_desc_get_chip(desc);
59
60
        int cascade_irq;
60
61
 
61
62
        while ((cascade_irq = cpm2_get_irq()) >= 0)
62
63
                generic_handle_irq(cascade_irq);
63
64
 
64
 
        desc->chip->eoi(irq);
 
65
        chip->irq_eoi(&desc->irq_data);
65
66
}
66
67
 
67
68
static void __init ksi8560_pic_init(void)
105
106
 
106
107
        cpm2_pic_init(np);
107
108
        of_node_put(np);
108
 
        set_irq_chained_handler(irq, cpm2_cascade);
 
109
        irq_set_chained_handler(irq, cpm2_cascade);
109
110
#endif
110
111
}
111
112