Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_NMI_H
0003 #define _ASM_NMI_H
0004 
0005 #ifdef CONFIG_PPC_WATCHDOG
0006 extern void arch_touch_nmi_watchdog(void);
0007 long soft_nmi_interrupt(struct pt_regs *regs);
0008 void watchdog_nmi_set_timeout_pct(u64 pct);
0009 #else
0010 static inline void arch_touch_nmi_watchdog(void) {}
0011 static inline void watchdog_nmi_set_timeout_pct(u64 pct) {}
0012 #endif
0013 
0014 #ifdef CONFIG_NMI_IPI
0015 extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask,
0016                        bool exclude_self);
0017 #define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
0018 #endif
0019 
0020 extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs);
0021 
0022 #endif /* _ASM_NMI_H */