/* SPDX-License-Identifier: GPL-2.0 */ /* * Machine specific NMI handling for generic. * Split out from traps.c by Osamu Tomita <[email protected]> */ #ifndef _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H #define _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H #include <asm/mc146818rtc.h> #define NMI_REASON_PORT … #define NMI_REASON_SERR … #define NMI_REASON_IOCHK … #define NMI_REASON_MASK … #define NMI_REASON_CLEAR_SERR … #define NMI_REASON_CLEAR_IOCHK … #define NMI_REASON_CLEAR_MASK … static inline unsigned char default_get_nmi_reason(void) { … } static inline void reassert_nmi(void) { … } #endif /* _ASM_X86_MACH_DEFAULT_MACH_TRAPS_H */