]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
c54b2bf1 AB |
2 | #ifndef _ASM_NMI_H |
3 | #define _ASM_NMI_H | |
4 | ||
70412c55 | 5 | #ifdef CONFIG_PPC_WATCHDOG |
3a96570f | 6 | long soft_nmi_interrupt(struct pt_regs *regs); |
df95d308 | 7 | void watchdog_hardlockup_set_timeout_pct(u64 pct); |
2104180a | 8 | #else |
df95d308 | 9 | static inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} |
2104180a NP |
10 | #endif |
11 | ||
48015b63 | 12 | #ifdef CONFIG_NMI_IPI |
5cc05910 ME |
13 | extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask, |
14 | bool exclude_self); | |
15 | #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace | |
16 | #endif | |
17 | ||
ccd47702 NP |
18 | extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs); |
19 | ||
c54b2bf1 | 20 | #endif /* _ASM_NMI_H */ |