1#ifndef __ASM_METAG_IRQ_H 2#define __ASM_METAG_IRQ_H 3 4#ifdef CONFIG_4KSTACKS 5extern void irq_ctx_init(int cpu); 6extern 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 12 13void tbi_startup_interrupt(int); 14void tbi_shutdown_interrupt(int); 15 16struct pt_regs; 17 18int tbisig_map(unsigned int hw); 19extern void do_IRQ(int irq, struct pt_regs *regs); 20 21#ifdef CONFIG_METAG_SUSPEND_MEM 22int traps_save_context(void); 23int traps_restore_context(void); 24#endif 25 26#include <asm-generic/irq.h> 27 28#ifdef CONFIG_HOTPLUG_CPU 29extern void migrate_irqs(void); 30#endif 31 32#endif /* __ASM_METAG_IRQ_H */ 33