diff options
-rw-r--r-- | include/linux/irq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h index 38bf89f2ade0..31632aa65d16 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
@@ -21,6 +21,10 @@ extern int nr_irqs; | |||
21 | 21 | ||
22 | # define for_each_irq_desc(irq, desc) \ | 22 | # define for_each_irq_desc(irq, desc) \ |
23 | for (irq = 0, desc = irq_desc; irq < nr_irqs; irq++, desc++) | 23 | for (irq = 0, desc = irq_desc; irq < nr_irqs; irq++, desc++) |
24 | |||
25 | # define for_each_irq_desc_reverse(irq, desc) \ | ||
26 | for (irq = nr_irqs -1, desc = irq_desc + (nr_irqs -1 ); \ | ||
27 | irq > 0; irq--, desc--) | ||
24 | #endif | 28 | #endif |
25 | 29 | ||
26 | #ifndef CONFIG_S390 | 30 | #ifndef CONFIG_S390 |