aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nmi.h')
-rw-r--r--include/linux/nmi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 22cc7960b649..abd48aacaf79 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -20,7 +20,7 @@ extern void touch_nmi_watchdog(void);
20extern void acpi_nmi_disable(void); 20extern void acpi_nmi_disable(void);
21extern void acpi_nmi_enable(void); 21extern void acpi_nmi_enable(void);
22#else 22#else
23#ifndef CONFIG_NMI_WATCHDOG 23#ifndef CONFIG_LOCKUP_DETECTOR
24static inline void touch_nmi_watchdog(void) 24static inline void touch_nmi_watchdog(void)
25{ 25{
26 touch_softlockup_watchdog(); 26 touch_softlockup_watchdog();
@@ -51,12 +51,12 @@ static inline bool trigger_all_cpu_backtrace(void)
51} 51}
52#endif 52#endif
53 53
54#ifdef CONFIG_NMI_WATCHDOG 54#ifdef CONFIG_LOCKUP_DETECTOR
55int hw_nmi_is_cpu_stuck(struct pt_regs *); 55int hw_nmi_is_cpu_stuck(struct pt_regs *);
56u64 hw_nmi_get_sample_period(void); 56u64 hw_nmi_get_sample_period(void);
57extern int nmi_watchdog_enabled; 57extern int watchdog_enabled;
58struct ctl_table; 58struct ctl_table;
59extern int proc_nmi_enabled(struct ctl_table *, int , 59extern int proc_dowatchdog_enabled(struct ctl_table *, int ,
60 void __user *, size_t *, loff_t *); 60 void __user *, size_t *, loff_t *);
61#endif 61#endif
62 62