diff options
Diffstat (limited to 'kernel/arch/avr32/include/asm/irq.h')
-rw-r--r-- | kernel/arch/avr32/include/asm/irq.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/arch/avr32/include/asm/irq.h b/kernel/arch/avr32/include/asm/irq.h new file mode 100644 index 000000000..6fa8913f8 --- /dev/null +++ b/kernel/arch/avr32/include/asm/irq.h @@ -0,0 +1,24 @@ +#ifndef __ASM_AVR32_IRQ_H +#define __ASM_AVR32_IRQ_H + +#define NR_INTERNAL_IRQS 64 + +#include <mach/irq.h> + +#ifndef NR_IRQS +#define NR_IRQS (NR_INTERNAL_IRQS) +#endif + +#define irq_canonicalize(i) (i) + +#ifndef __ASSEMBLER__ +int nmi_enable(void); +void nmi_disable(void); + +/* + * Returns a bitmask of pending interrupts in a group. + */ +extern unsigned long intc_get_pending(unsigned int group); +#endif + +#endif /* __ASM_AVR32_IOCTLS_H */ |