[PATCH] m68k: compile fix - hardirq checks were in wrong place
[safe/jmp/linux-2.6] / include / asm-m68k / irq.h
index 127ad19..325c86f 100644 (file)
 #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.
  * Adding an interrupt service routine for one of these sources