linux/arch/metag/include/asm/irq.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2#ifndef __ASM_METAG_IRQ_H
   3#define __ASM_METAG_IRQ_H
   4
   5#ifdef CONFIG_4KSTACKS
   6extern void irq_ctx_init(int cpu);
   7extern void irq_ctx_exit(int cpu);
   8# define __ARCH_HAS_DO_SOFTIRQ
   9#else
  10static inline void irq_ctx_init(int cpu)
  11{
  12}
  13static inline void irq_ctx_exit(int cpu)
  14{
  15}
  16#endif
  17
  18void tbi_startup_interrupt(int);
  19void tbi_shutdown_interrupt(int);
  20
  21struct pt_regs;
  22
  23int tbisig_map(unsigned int hw);
  24extern void do_IRQ(int irq, struct pt_regs *regs);
  25extern void init_IRQ(void);
  26
  27#ifdef CONFIG_METAG_SUSPEND_MEM
  28int traps_save_context(void);
  29int traps_restore_context(void);
  30#endif
  31
  32#include <asm-generic/irq.h>
  33
  34#ifdef CONFIG_HOTPLUG_CPU
  35extern void migrate_irqs(void);
  36#endif
  37
  38#endif /* __ASM_METAG_IRQ_H */
  39