Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[linux-2.6.git] / arch / metag / include / asm / irq.h
blobad6bd0edbc3bf8a43a3796f1c11eb49e8a7ec0b9
1 #ifndef __ASM_METAG_IRQ_H
2 #define __ASM_METAG_IRQ_H
4 #ifdef CONFIG_4KSTACKS
5 extern void irq_ctx_init(int cpu);
6 extern void irq_ctx_exit(int cpu);
7 # define __ARCH_HAS_DO_SOFTIRQ
8 #else
9 # define irq_ctx_init(cpu) do { } while (0)
10 # define irq_ctx_exit(cpu) do { } while (0)
11 #endif
13 void tbi_startup_interrupt(int);
14 void tbi_shutdown_interrupt(int);
16 struct pt_regs;
18 int tbisig_map(unsigned int hw);
19 extern void do_IRQ(int irq, struct pt_regs *regs);
20 extern void init_IRQ(void);
22 #ifdef CONFIG_METAG_SUSPEND_MEM
23 int traps_save_context(void);
24 int traps_restore_context(void);
25 #endif
27 #include <asm-generic/irq.h>
29 #ifdef CONFIG_HOTPLUG_CPU
30 extern void migrate_irqs(void);
31 #endif
33 #endif /* __ASM_METAG_IRQ_H */