Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __H8300_HARDIRQ_H |
| 2 | #define __H8300_HARDIRQ_H |
| 3 | |
Christoph Hellwig | 6e0c9e7 | 2009-09-21 17:03:58 -0700 | [diff] [blame] | 4 | #include <asm/irq.h> |
Yoshinori Sato | 5cc265a | 2008-02-23 15:23:59 -0800 | [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 | 6e0c9e7 | 2009-09-21 17:03:58 -0700 | [diff] [blame] | 17 | #include <asm-generic/hardirq.h> |
| 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif |