diff options
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/irqs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h new file mode 100644 index 000000000000..5179b72e1ee3 --- /dev/null +++ b/arch/arm/mach-shmobile/include/mach/irqs.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef __ASM_MACH_IRQS_H | ||
2 | #define __ASM_MACH_IRQS_H | ||
3 | |||
4 | #define NR_IRQS 512 | ||
5 | #define NR_IRQS_LEGACY 8 | ||
6 | |||
7 | #define evt2irq(evt) (((evt) >> 5) - 16) | ||
8 | #define irq2evt(irq) (((irq) + 16) << 5) | ||
9 | |||
10 | #endif /* __ASM_MACH_IRQS_H */ | ||