Merge branch 'akpm'
[linux-2.6/next.git] / arch / m32r / include / asm / hardirq.h
blob4c31c0ae215e87928098a9b60e2d978ae710f800
1 #ifdef __KERNEL__
2 #ifndef __ASM_HARDIRQ_H
3 #define __ASM_HARDIRQ_H
5 #include <asm/irq.h>
7 #if NR_IRQS > 256
8 #define HARDIRQ_BITS 9
9 #else
10 #define HARDIRQ_BITS 8
11 #endif
14 * The hardirq mask has to be large enough to have
15 * space for potentially all IRQ sources in the system
16 * nesting on a single CPU:
18 #if (1 << HARDIRQ_BITS) < NR_IRQS
19 # error HARDIRQ_BITS is too low!
20 #endif
22 #include <asm-generic/hardirq.h>
24 #endif /* __ASM_HARDIRQ_H */
25 #endif /* __KERNEL__ */