1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef _LINUX_IRQNR_H #define _LINUX_IRQNR_H #ifndef CONFIG_GENERIC_HARDIRQS #include <asm/irq.h> # define nr_irqs NR_IRQS # define for_each_irq_desc(irq, desc) \ for (irq = 0; irq < nr_irqs; irq++) static inline early_sparse_irq_init(void) { } #endif #endif