xref: /openbmc/linux/arch/powerpc/include/asm/nmi.h (revision c8dbaa22)
1 #ifndef _ASM_NMI_H
2 #define _ASM_NMI_H
3 
4 #ifdef CONFIG_HARDLOCKUP_DETECTOR
5 extern void arch_touch_nmi_watchdog(void);
6 
7 extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
8 					   bool exclude_self);
9 #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
10 
11 #else
12 static inline void arch_touch_nmi_watchdog(void) {}
13 #endif
14 
15 #endif /* _ASM_NMI_H */
16