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