diff options
Diffstat (limited to 'include/linux/nmi.h')
-rw-r--r-- | include/linux/nmi.h | 8 |
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); | |||
20 | extern void acpi_nmi_disable(void); | 20 | extern void acpi_nmi_disable(void); |
21 | extern void acpi_nmi_enable(void); | 21 | extern void acpi_nmi_enable(void); |
22 | #else | 22 | #else |
23 | #ifndef CONFIG_NMI_WATCHDOG | 23 | #ifndef CONFIG_LOCKUP_DETECTOR |
24 | static inline void touch_nmi_watchdog(void) | 24 | static 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 |
55 | int hw_nmi_is_cpu_stuck(struct pt_regs *); | 55 | int hw_nmi_is_cpu_stuck(struct pt_regs *); |
56 | u64 hw_nmi_get_sample_period(void); | 56 | u64 hw_nmi_get_sample_period(void); |
57 | extern int nmi_watchdog_enabled; | 57 | extern int watchdog_enabled; |
58 | struct ctl_table; | 58 | struct ctl_table; |
59 | extern int proc_nmi_enabled(struct ctl_table *, int , | 59 | extern 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 | ||