Anton Blanchard | c54b2bf | 2015-04-09 12:52:56 +1000 | [diff] [blame] | 1 | #ifndef _ASM_NMI_H |
| 2 | #define _ASM_NMI_H |
| 3 | |
Nicholas Piggin | 2104180 | 2017-07-12 14:35:52 -0700 | [diff] [blame^] | 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 | |
Anton Blanchard | c54b2bf | 2015-04-09 12:52:56 +1000 | [diff] [blame] | 15 | #endif /* _ASM_NMI_H */ |