23 #include <linux/kernel.h>
24 #include <linux/module.h>
35 struct ipr_data *
p = irq_data_get_irq_chip_data(data);
36 unsigned long addr = get_ipr_desc(data)->ipr_offsets[p->
ipr_idx];
42 static void enable_ipr_irq(
struct irq_data *data)
44 struct ipr_data *p = irq_data_get_irq_chip_data(data);
45 unsigned long addr = get_ipr_desc(data)->ipr_offsets[p->
ipr_idx];
59 desc->
chip.irq_mask = disable_ipr_irq;
60 desc->
chip.irq_unmask = enable_ipr_irq;
62 for (i = 0; i < desc->
nr_irqs; i++) {