Merge commit 'v2.6.37-rc7' into perf/core
[firefly-linux-kernel-4.4.55.git] / kernel / sysctl.c
index cbd97da7a6135789df794bc4ea5f861f37d85e04..46404414d8a7d4b187903906927157e1f092020a 100644 (file)
@@ -745,6 +745,22 @@ static struct ctl_table kern_table[] = {
                .extra1         = &zero,
                .extra2         = &one,
        },
+       {
+               .procname       = "nmi_watchdog",
+               .data           = &watchdog_enabled,
+               .maxlen         = sizeof (int),
+               .mode           = 0644,
+               .proc_handler   = proc_dowatchdog_enabled,
+       },
+#endif
+#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86)
+       {
+               .procname       = "unknown_nmi_panic",
+               .data           = &unknown_nmi_panic,
+               .maxlen         = sizeof (int),
+               .mode           = 0644,
+               .proc_handler   = proc_dointvec,
+       },
 #endif
 #if defined(CONFIG_X86)
        {