blob: 6fa8913f8548bd25117a0e656ac998695a002857 [file] [log] [blame]
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -07001#ifndef __ASM_AVR32_IRQ_H
2#define __ASM_AVR32_IRQ_H
3
4#define NR_INTERNAL_IRQS 64
Haavard Skinnemoen6a4e5222007-02-05 16:57:13 +01005
Haavard Skinnemoen3663b732008-08-05 13:57:38 +02006#include <mach/irq.h>
Haavard Skinnemoen6a4e5222007-02-05 16:57:13 +01007
8#ifndef NR_IRQS
9#define NR_IRQS (NR_INTERNAL_IRQS)
10#endif
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070011
12#define irq_canonicalize(i) (i)
13
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +020014#ifndef __ASSEMBLER__
15int nmi_enable(void);
16void nmi_disable(void);
Haavard Skinnemoen46acb552008-02-24 14:09:25 +010017
18/*
19 * Returns a bitmask of pending interrupts in a group.
20 */
21extern unsigned long intc_get_pending(unsigned int group);
Haavard Skinnemoene7ba1762007-10-10 14:58:29 +020022#endif
23
Haavard Skinnemoen5f97f7f2006-09-25 23:32:13 -070024#endif /* __ASM_AVR32_IOCTLS_H */