blob: 6f8e79cd35d87f9eababcbbbba23c3d7f0f98f87 [file] [log] [blame]
Anton Blanchardc54b2bf2015-04-09 12:52:56 +10001#ifndef _ASM_NMI_H
2#define _ASM_NMI_H
3
Nicholas Piggin21041802017-07-12 14:35:52 -07004#ifdef CONFIG_HARDLOCKUP_DETECTOR
5extern void arch_touch_nmi_watchdog(void);
6
7extern 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
12static inline void arch_touch_nmi_watchdog(void) {}
13#endif
14
Anton Blanchardc54b2bf2015-04-09 12:52:56 +100015#endif /* _ASM_NMI_H */