Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_HARDIRQ_H |
| 2 | #define __ASM_HARDIRQ_H |
| 3 | |
Jesper Nilsson | 80bf7a5 | 2007-11-14 17:00:49 -0800 | [diff] [blame] | 4 | #include <asm/irq.h> |
Mikael Starvik | 2e0cea1 | 2005-07-27 11:44:36 -0700 | [diff] [blame] | 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #define HARDIRQ_BITS 8 |
| 7 | |
| 8 | /* |
| 9 | * The hardirq mask has to be large enough to have |
| 10 | * space for potentially all IRQ sources in the system |
| 11 | * nesting on a single CPU: |
| 12 | */ |
| 13 | #if (1 << HARDIRQ_BITS) < NR_IRQS |
| 14 | # error HARDIRQ_BITS is too low! |
| 15 | #endif |
| 16 | |
Christoph Hellwig | 0395ac6 | 2009-08-04 16:49:52 +0200 | [diff] [blame] | 17 | #include <asm-generic/hardirq.h> |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif /* __ASM_HARDIRQ_H */ |