]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/interrupt.h
x86: io-apic - do not use KERN_DEBUG marker too much
[linux-2.6-omap-h63xx.git] / include / linux / interrupt.h
index 58ff4e74b2f362bcc2078e76e9c5d10bdfba1f83..d4039a0b23f403df9c028420d9a86816d0974cd0 100644 (file)
 #include <asm/ptrace.h>
 #include <asm/system.h>
 
+extern int nr_irqs;
+
+#ifndef CONFIG_GENERIC_HARDIRQS
+#define for_each_irq_desc(irq, desc)           \
+       for (irq = 0; irq < nr_irqs; irq++)
+#endif
+
 /*
  * These correspond to the IORESOURCE_IRQ_* defines in
  * linux/ioport.h to select the interrupt line behaviour.  When