diff options
Diffstat (limited to 'include/asm-m68k/irq.h')
-rw-r--r-- | include/asm-m68k/irq.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/asm-m68k/irq.h b/include/asm-m68k/irq.h index 1f569905cb74..325c86f8512d 100644 --- a/include/asm-m68k/irq.h +++ b/include/asm-m68k/irq.h | |||
@@ -23,6 +23,15 @@ | |||
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * The hardirq mask has to be large enough to have | ||
27 | * space for potentially all IRQ sources in the system | ||
28 | * nesting on a single CPU: | ||
29 | */ | ||
30 | #if (1 << HARDIRQ_BITS) < NR_IRQS | ||
31 | # error HARDIRQ_BITS is too low! | ||
32 | #endif | ||
33 | |||
34 | /* | ||
26 | * Interrupt source definitions | 35 | * Interrupt source definitions |
27 | * General interrupt sources are the level 1-7. | 36 | * General interrupt sources are the level 1-7. |
28 | * Adding an interrupt service routine for one of these sources | 37 | * Adding an interrupt service routine for one of these sources |
@@ -70,8 +79,6 @@ static __inline__ int irq_canonicalize(int irq) | |||
70 | 79 | ||
71 | extern void (*enable_irq)(unsigned int); | 80 | extern void (*enable_irq)(unsigned int); |
72 | extern void (*disable_irq)(unsigned int); | 81 | extern void (*disable_irq)(unsigned int); |
73 | |||
74 | #define disable_irq_nosync disable_irq | ||
75 | #define enable_irq_nosync enable_irq | 82 | #define enable_irq_nosync enable_irq |
76 | 83 | ||
77 | struct pt_regs; | 84 | struct pt_regs; |