ARM: mach-shmobile: SH-Mobile G3 support.
[safe/jmp/linux-2.6] / arch / arm / mach-shmobile / include / mach / irqs.h
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 */