]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-m68k/irq.h
[PATCH] hrtimers: add back lost credit lines
[linux-2.6-omap-h63xx.git] / include / asm-m68k / irq.h
index 127ad190cf2d6e895dd8c2d4990c750a1b6b94bd..325c86f8512d08b50e9dd9e3ed049c1bd975b93a 100644 (file)
 #define NR_IRQS (24+SYS_IRQS)
 #endif
 
+/*
+ * The hardirq mask has to be large enough to have
+ * space for potentially all IRQ sources in the system
+ * nesting on a single CPU:
+ */
+#if (1 << HARDIRQ_BITS) < NR_IRQS
+# error HARDIRQ_BITS is too low!
+#endif
+
 /*
  * Interrupt source definitions
  * General interrupt sources are the level 1-7.