aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 121e4fff03d..ae5cbb1e3ce 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -744,21 +744,21 @@ static struct ctl_table kern_table[] = {
744 .extra1 = &zero, 744 .extra1 = &zero,
745 .extra2 = &one, 745 .extra2 = &one,
746 }, 746 },
747#endif
748#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) && !defined(CONFIG_LOCKUP_DETECTOR)
749 { 747 {
750 .procname = "unknown_nmi_panic", 748 .procname = "nmi_watchdog",
751 .data = &unknown_nmi_panic, 749 .data = &watchdog_enabled,
752 .maxlen = sizeof (int), 750 .maxlen = sizeof (int),
753 .mode = 0644, 751 .mode = 0644,
754 .proc_handler = proc_dointvec, 752 .proc_handler = proc_dowatchdog_enabled,
755 }, 753 },
754#endif
755#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86)
756 { 756 {
757 .procname = "nmi_watchdog", 757 .procname = "unknown_nmi_panic",
758 .data = &nmi_watchdog_enabled, 758 .data = &unknown_nmi_panic,
759 .maxlen = sizeof (int), 759 .maxlen = sizeof (int),
760 .mode = 0644, 760 .mode = 0644,
761 .proc_handler = proc_nmi_enabled, 761 .proc_handler = proc_dointvec,
762 }, 762 },
763#endif 763#endif
764#if defined(CONFIG_X86) 764#if defined(CONFIG_X86)