Linux 2.6.26-rc5
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-avr32 / irq.h
blobc563b7720c1ad7f8034100c64dd223e13e81d079
1 #ifndef __ASM_AVR32_IRQ_H
2 #define __ASM_AVR32_IRQ_H
4 #define NR_INTERNAL_IRQS 64
6 #include <asm/arch/irq.h>
8 #ifndef NR_IRQS
9 #define NR_IRQS (NR_INTERNAL_IRQS)
10 #endif
12 #define irq_canonicalize(i) (i)
14 #ifndef __ASSEMBLER__
15 int nmi_enable(void);
16 void nmi_disable(void);
19 * Returns a bitmask of pending interrupts in a group.
21 extern unsigned long intc_get_pending(unsigned int group);
22 #endif
24 #endif /* __ASM_AVR32_IOCTLS_H */