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 9static inline void irq_ctx_init(int cpu) 10{ 11} 12static inline void irq_ctx_exit(int cpu) 13{ 14} 15#endif 16 17void tbi_startup_interrupt(int); 18void tbi_shutdown_interrupt(int); 19 20struct pt_regs; 21 22int tbisig_map(unsigned int hw); 23extern void do_IRQ(int irq, struct pt_regs *regs); 24extern void init_IRQ(void); 25 26#ifdef CONFIG_METAG_SUSPEND_MEM 27int traps_save_context(void); 28int traps_restore_context(void); 29#endif 30 31#include <asm-generic/irq.h> 32 33#ifdef CONFIG_HOTPLUG_CPU 34extern void migrate_irqs(void); 35#endif 36 37#endif /* __ASM_METAG_IRQ_H */ 38