1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2c54b2bf1SAnton Blanchard #ifndef _ASM_NMI_H 3c54b2bf1SAnton Blanchard #define _ASM_NMI_H 4c54b2bf1SAnton Blanchard 570412c55SNicholas Piggin #ifdef CONFIG_PPC_WATCHDOG 63a96570fSNicholas Piggin long soft_nmi_interrupt(struct pt_regs *regs); 7*df95d308SDouglas Anderson void watchdog_hardlockup_set_timeout_pct(u64 pct); 82104180aSNicholas Piggin #else watchdog_hardlockup_set_timeout_pct(u64 pct)9*df95d308SDouglas Andersonstatic inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} 102104180aSNicholas Piggin #endif 112104180aSNicholas Piggin 12ccd47702SNicholas Piggin extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs); 13ccd47702SNicholas Piggin 14c54b2bf1SAnton Blanchard #endif /* _ASM_NMI_H */ 15