mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
SH: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either generic_handle_irq(irq_find_mapping()) or generic_handle_irq(irq_linear_revmap()) to a single call to generic_handle_domain_irq(). Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
parent
66c6594b6d
commit
2e0e0ff411
@ -38,7 +38,7 @@ static void se7343_irq_demux(struct irq_desc *desc)
|
||||
mask = ioread16(se7343_irq_regs + PA_CPLD_ST_REG);
|
||||
|
||||
for_each_set_bit(bit, &mask, SE7343_FPGA_IRQ_NR)
|
||||
generic_handle_irq(irq_linear_revmap(se7343_irq_domain, bit));
|
||||
generic_handle_domain_irq(se7343_irq_domain, bit);
|
||||
|
||||
chip->irq_unmask(data);
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ static void se7722_irq_demux(struct irq_desc *desc)
|
||||
mask = ioread16(se7722_irq_regs + IRQ01_STS_REG);
|
||||
|
||||
for_each_set_bit(bit, &mask, SE7722_FPGA_IRQ_NR)
|
||||
generic_handle_irq(irq_linear_revmap(se7722_irq_domain, bit));
|
||||
generic_handle_domain_irq(se7722_irq_domain, bit);
|
||||
|
||||
chip->irq_unmask(data);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ static void x3proto_gpio_irq_handler(struct irq_desc *desc)
|
||||
|
||||
mask = __raw_readw(KEYDETR);
|
||||
for_each_set_bit(pin, &mask, NR_BASEBOARD_GPIOS)
|
||||
generic_handle_irq(irq_linear_revmap(x3proto_irq_domain, pin));
|
||||
generic_handle_domain_irq(x3proto_irq_domain, pin);
|
||||
|
||||
chip->irq_unmask(data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user