aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 511803853a5b..d4039a0b23f4 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -17,6 +17,11 @@
17 17
18extern int nr_irqs; 18extern int nr_irqs;
19 19
20#ifndef CONFIG_GENERIC_HARDIRQS
21#define for_each_irq_desc(irq, desc) \
22 for (irq = 0; irq < nr_irqs; irq++)
23#endif
24
20/* 25/*
21 * These correspond to the IORESOURCE_IRQ_* defines in 26 * These correspond to the IORESOURCE_IRQ_* defines in
22 * linux/ioport.h to select the interrupt line behaviour. When 27 * linux/ioport.h to select the interrupt line behaviour. When