diff options
Diffstat (limited to 'arch/x86/kernel/apic/hw_nmi.c')
-rw-r--r-- | arch/x86/kernel/apic/hw_nmi.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c index 057f1ebebe0..2e94eb49359 100644 --- a/arch/x86/kernel/apic/hw_nmi.c +++ b/arch/x86/kernel/apic/hw_nmi.c | |||
@@ -24,8 +24,14 @@ u64 hw_nmi_get_sample_period(void) | |||
24 | } | 24 | } |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #ifndef CONFIG_HARDLOCKUP_DETECTOR | ||
28 | void touch_nmi_watchdog(void) | ||
29 | { | ||
30 | touch_softlockup_watchdog(); | ||
31 | } | ||
32 | EXPORT_SYMBOL(touch_nmi_watchdog); | ||
33 | #endif | ||
27 | #ifdef arch_trigger_all_cpu_backtrace | 34 | #ifdef arch_trigger_all_cpu_backtrace |
28 | |||
29 | /* For reliability, we're prepared to waste bits here. */ | 35 | /* For reliability, we're prepared to waste bits here. */ |
30 | static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly; | 36 | static DECLARE_BITMAP(backtrace_mask, NR_CPUS) __read_mostly; |
31 | 37 | ||