#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.
* All interrupt handling is actually machine specific so it is better
* to use function pointers, as used by the Sparc port, and select the
* interrupt handling functions when initializing the kernel. This way
- * we save some unnecessary overhead at run-time.
+ * we save some unnecessary overhead at run-time.
* 01/11/97 - Jes
*/
extern void (*enable_irq)(unsigned int);
extern void (*disable_irq)(unsigned int);
-
#define disable_irq_nosync disable_irq
-#define enable_irq_nosync enable_irq
struct pt_regs;