Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __M68K_HARDIRQ_H |
| 2 | #define __M68K_HARDIRQ_H |
| 3 | |
Greg Ungerer | 230afb0 | 2006-02-08 09:19:17 +1000 | [diff] [blame] | 4 | #include <asm/irq.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20: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 | d668bf0 | 2009-08-04 16:52:44 +0200 | [diff] [blame] | 17 | #include <asm-generic/hardirq.h> |
Greg Ungerer | c423941 | 2007-07-27 01:09:00 +1000 | [diff] [blame] | 18 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #endif /* __M68K_HARDIRQ_H */ |