diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 07:35:07 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-05 07:35:07 -0400 |
commit | 84db8d7cdb072866f5a6c6ac2c9a74c5c48dd22f (patch) | |
tree | 7f10cc33bca606abd1547ae90d90362134a35332 /arch/avr32/include/asm/irq.h | |
parent | 2b12a4c524812fb3f6ee590a02e65b95c8c32229 (diff) |
avr32: Move include/asm-avr32 to arch/avr32/include/asm
Leaving include/asm/arch alone for now.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/include/asm/irq.h')
-rw-r--r-- | arch/avr32/include/asm/irq.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/irq.h b/arch/avr32/include/asm/irq.h new file mode 100644 index 000000000000..c563b7720c1a --- /dev/null +++ b/arch/avr32/include/asm/irq.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef __ASM_AVR32_IRQ_H | ||
2 | #define __ASM_AVR32_IRQ_H | ||
3 | |||
4 | #define NR_INTERNAL_IRQS 64 | ||
5 | |||
6 | #include <asm/arch/irq.h> | ||
7 | |||
8 | #ifndef NR_IRQS | ||
9 | #define NR_IRQS (NR_INTERNAL_IRQS) | ||
10 | #endif | ||
11 | |||
12 | #define irq_canonicalize(i) (i) | ||
13 | |||
14 | #ifndef __ASSEMBLER__ | ||
15 | int nmi_enable(void); | ||
16 | void nmi_disable(void); | ||
17 | |||
18 | /* | ||
19 | * Returns a bitmask of pending interrupts in a group. | ||
20 | */ | ||
21 | extern unsigned long intc_get_pending(unsigned int group); | ||
22 | #endif | ||
23 | |||
24 | #endif /* __ASM_AVR32_IOCTLS_H */ | ||