Skip to content

Commit eecb068

Browse files
author
Marc Zyngier
committed
EDAC/altera: Convert to generic_handle_domain_irq()
Replace generic_handle_irq(irq_linear_revmap()) with a single call to generic_handle_domain_irq(). Signed-off-by: Marc Zyngier <[email protected]>
1 parent 2c89965 commit eecb068

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

drivers/edac/altera_edac.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,11 +1804,8 @@ static void altr_edac_a10_irq_handler(struct irq_desc *desc)
18041804
regmap_read(edac->ecc_mgr_map, sm_offset, &irq_status);
18051805

18061806
bits = irq_status;
1807-
for_each_set_bit(bit, &bits, 32) {
1808-
irq = irq_linear_revmap(edac->domain, dberr * 32 + bit);
1809-
if (irq)
1810-
generic_handle_irq(irq);
1811-
}
1807+
for_each_set_bit(bit, &bits, 32)
1808+
generic_handle_domain_irq(edac->domain, dberr * 32 + bit);
18121809

18131810
chained_irq_exit(chip, desc);
18141811
}

0 commit comments

Comments
 (0)