spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / include / asm / irq.h
blob5a526afb5f1858615ec02928f2e2010b3a25982d
1 #ifndef __ASM_ARM_IRQ_H
2 #define __ASM_ARM_IRQ_H
4 #include <mach/irqs.h>
6 #ifndef irq_canonicalize
7 #define irq_canonicalize(i) (i)
8 #endif
10 #define NR_IRQS_LEGACY 16
13 * Use this value to indicate lack of interrupt
14 * capability
16 #ifndef NO_IRQ
17 #define NO_IRQ ((unsigned int)(-1))
18 #endif
20 #ifndef __ASSEMBLY__
21 struct irqaction;
22 struct pt_regs;
23 extern void migrate_irqs(void);
25 extern void asm_do_IRQ(unsigned int, struct pt_regs *);
26 void handle_IRQ(unsigned int, struct pt_regs *);
27 void init_IRQ(void);
29 #endif
31 #endif