X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68k%2Firq.h;h=9ac047c400c45654b927374b23536971ae57b4cf;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=1f569905cb7400cb05a42b7c5725d42288119406;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/asm-m68k/irq.h b/include/asm-m68k/irq.h index 1f569905c..9ac047c40 100644 --- a/include/asm-m68k/irq.h +++ b/include/asm-m68k/irq.h @@ -22,6 +22,15 @@ #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. @@ -70,9 +79,7 @@ static __inline__ int irq_canonicalize(int irq) 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;