Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _ASM_NMI_H |
| 3 | #define _ASM_NMI_H |
| 4 | |
| 5 | #ifdef CONFIG_PPC_WATCHDOG |
| 6 | extern void arch_touch_nmi_watchdog(void); |
| 7 | #else |
| 8 | static inline void arch_touch_nmi_watchdog(void) {} |
| 9 | #endif |
| 10 | |
| 11 | #if defined(CONFIG_NMI_IPI) && defined(CONFIG_STACKTRACE) |
| 12 | extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask, |
| 13 | bool exclude_self); |
| 14 | #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace |
| 15 | #endif |
| 16 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 17 | extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs); |
| 18 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 19 | #endif /* _ASM_NMI_H */ |