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); 20extern void init_IRQ(void); 21 22#ifdef CONFIG_METAG_SUSPEND_MEM 23int traps_save_context(void); 24int traps_restore_context(void); 25#endif 26 27#include <asm-generic/irq.h> 28 29#ifdef CONFIG_HOTPLUG_CPU 30extern void migrate_irqs(void); 31#endif 32 33#endif /* __ASM_METAG_IRQ_H */ 34