1 #ifndef __ASM_METAG_IRQ_H
2 #define __ASM_METAG_IRQ_H
5 extern void irq_ctx_init(int cpu
);
6 extern void irq_ctx_exit(int cpu
);
7 # define __ARCH_HAS_DO_SOFTIRQ
9 # define irq_ctx_init(cpu) do { } while (0)
10 # define irq_ctx_exit(cpu) do { } while (0)
13 void tbi_startup_interrupt(int);
14 void tbi_shutdown_interrupt(int);
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);
27 #include <asm-generic/irq.h>
29 #ifdef CONFIG_HOTPLUG_CPU
30 extern void migrate_irqs(void);
33 #endif /* __ASM_METAG_IRQ_H */