summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/irqs.h
blob: 132256bb8c817b1b5ab9aa08cd1af7875b22ca00 (plain)
1
2
3
4
5
6
7
8
9
#ifndef __ASM_MACH_IRQS_H
#define __ASM_MACH_IRQS_H

#define NR_IRQS         512

#define evt2irq(evt)		(((evt) >> 5) - 16)
#define irq2evt(irq)		(((irq) + 16) << 5)

#endif /* __ASM_MACH_IRQS_H */