ARM: shmobile: remove NR_IRQS
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / include / asm / irq.h
CommitLineData
1da177e4
LT
1#ifndef __ASM_ARM_IRQ_H
2#define __ASM_ARM_IRQ_H
3
a09e64fb 4#include <mach/irqs.h>
1da177e4
LT
5
6#ifndef irq_canonicalize
7#define irq_canonicalize(i) (i)
8#endif
9
354e6f72 10#define NR_IRQS_LEGACY 16
11
1da177e4
LT
12/*
13 * Use this value to indicate lack of interrupt
14 * capability
15 */
16#ifndef NO_IRQ
17#define NO_IRQ ((unsigned int)(-1))
18#endif
19
431d2cd9
AP
20#ifndef __ASSEMBLY__
21struct irqaction;
aedceb2a 22struct pt_regs;
a054a811 23extern void migrate_irqs(void);
446616db
RK
24
25extern void asm_do_IRQ(unsigned int, struct pt_regs *);
a4841e39 26void handle_IRQ(unsigned int, struct pt_regs *);
446616db
RK
27void init_IRQ(void);
28
1da177e4
LT
29#endif
30
431d2cd9
AP
31#endif
32