Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | #ifndef __ASM_AVR32_IRQ_H |
| 2 | #define __ASM_AVR32_IRQ_H |
| 3 | |
| 4 | #define NR_INTERNAL_IRQS 64 |
Haavard Skinnemoen | 6a4e522 | 2007-02-05 16:57:13 +0100 | [diff] [blame] | 5 | |
| 6 | #include <asm/arch/irq.h> |
| 7 | |
| 8 | #ifndef NR_IRQS |
| 9 | #define NR_IRQS (NR_INTERNAL_IRQS) |
| 10 | #endif |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 11 | |
| 12 | #define irq_canonicalize(i) (i) |
| 13 | |
Haavard Skinnemoen | e7ba176 | 2007-10-10 14:58:29 +0200 | [diff] [blame] | 14 | #ifndef __ASSEMBLER__ |
| 15 | int nmi_enable(void); |
| 16 | void nmi_disable(void); |
| 17 | #endif |
| 18 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 19 | #endif /* __ASM_AVR32_IOCTLS_H */ |