18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __NMI_H 38c2ecf20Sopenharmony_ci#define __NMI_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciint __init nmi_init(void); 68c2ecf20Sopenharmony_civoid perfctr_irq(int irq, struct pt_regs *regs); 78c2ecf20Sopenharmony_civoid nmi_adjust_hz(unsigned int new_hz); 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciextern atomic_t nmi_active; 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_civoid arch_touch_nmi_watchdog(void); 128c2ecf20Sopenharmony_civoid start_nmi_watchdog(void *unused); 138c2ecf20Sopenharmony_civoid stop_nmi_watchdog(void *unused); 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#endif /* __NMI_H */ 16