提交 148b5083 编写于 作者: M Maciej W. Rozycki 提交者: Ingo Molnar

x86: NMI watchdog: Downgrade helper

A downgrade helper for the NMI watchdog to be used in all places where
the I/O APIC watchdog may have been requested, but the I/O APIC is found
not to be there or meant to be left disabled.  This is so that the
reconfiguration is cosistent and defined in a single place only.
Signed-off-by: NMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 6fe9fe87
...@@ -78,6 +78,11 @@ extern int unknown_nmi_panic; ...@@ -78,6 +78,11 @@ extern int unknown_nmi_panic;
void __trigger_all_cpu_backtrace(void); void __trigger_all_cpu_backtrace(void);
#define trigger_all_cpu_backtrace() __trigger_all_cpu_backtrace() #define trigger_all_cpu_backtrace() __trigger_all_cpu_backtrace()
static inline void localise_nmi_watchdog(void)
{
if (nmi_watchdog == NMI_IO_APIC)
nmi_watchdog = NMI_LOCAL_APIC;
}
#endif #endif
void lapic_watchdog_stop(void); void lapic_watchdog_stop(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册