4 #ifndef CONFIG_GENERIC_HARDIRQS
6 # define nr_irqs NR_IRQS
8 # define for_each_irq_desc(irq, desc) \
9 for (irq = 0; irq < nr_irqs; irq++)
13 # define for_each_irq_desc(irq, desc) \
14 for (irq = 0, desc = irq_desc; irq < nr_irqs; irq++, desc++)
16 # define for_each_irq_desc_reverse(irq, desc) \
17 for (irq = nr_irqs - 1, desc = irq_desc + (nr_irqs - 1); \
18 irq >= 0; irq--, desc--)
21 #define for_each_irq_nr(irq) \
22 for (irq = 0; irq < nr_irqs; irq++)