X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-avr32%2Firq.h;h=c563b7720c1ad7f8034100c64dd223e13e81d079;hb=4fdf08b5bf8d449cc9897395895157c6ff8ddc41;hp=f7e725707dd7de5980a27943a1cc20ed315485b6;hpb=dd77a4ee0f3981693d4229aa1d57cea9e526ff47;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-avr32/irq.h b/include/asm-avr32/irq.h index f7e725707dd..c563b7720c1 100644 --- a/include/asm-avr32/irq.h +++ b/include/asm-avr32/irq.h @@ -2,9 +2,23 @@ #define __ASM_AVR32_IRQ_H #define NR_INTERNAL_IRQS 64 -#define NR_EXTERNAL_IRQS 64 -#define NR_IRQS (NR_INTERNAL_IRQS + NR_EXTERNAL_IRQS) + +#include + +#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 */