nmi.h 647 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASM_NMI_H
  3. #define _ASM_NMI_H
  4. #ifdef CONFIG_PPC_WATCHDOG
  5. extern void arch_touch_nmi_watchdog(void);
  6. long soft_nmi_interrupt(struct pt_regs *regs);
  7. void watchdog_nmi_set_timeout_pct(u64 pct);
  8. #else
  9. static inline void arch_touch_nmi_watchdog(void) {}
  10. static inline void watchdog_nmi_set_timeout_pct(u64 pct) {}
  11. #endif
  12. #ifdef CONFIG_NMI_IPI
  13. extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
  14. bool exclude_self);
  15. #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
  16. #endif
  17. extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs);
  18. #endif /* _ASM_NMI_H */