1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_METAG_IRQ_H
3 #define __ASM_METAG_IRQ_H
6 extern void irq_ctx_init(int cpu);
7 extern void irq_ctx_exit(int cpu);
8 # define __ARCH_HAS_DO_SOFTIRQ
10 static inline void irq_ctx_init(int cpu)
13 static inline void irq_ctx_exit(int cpu)
18 void tbi_startup_interrupt(int);
19 void tbi_shutdown_interrupt(int);
23 int tbisig_map(unsigned int hw);
24 extern void do_IRQ(int irq, struct pt_regs *regs);
25 extern void init_IRQ(void);
27 #ifdef CONFIG_METAG_SUSPEND_MEM
28 int traps_save_context(void);
29 int traps_restore_context(void);
32 #include <asm-generic/irq.h>
34 #ifdef CONFIG_HOTPLUG_CPU
35 extern void migrate_irqs(void);
38 #endif /* __ASM_METAG_IRQ_H */