aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-09-12 15:37:15 -0400
committerIngo Molnar <mingo@kernel.org>2017-09-14 05:41:07 -0400
commit7feeb9cd4f5b34476ffb9e6d58d58c5416375b19 (patch)
treea4a1c3abb9eda23f977cf1e0ebd5a8f2c525760f /kernel/sysctl.c
parent51d4052b01ca555e0d1d5fe297b309beb6c64aa0 (diff)
watchdog/sysctl: Clean up sysctl variable name space
Reflect that these variables are user interface related and remove the whitespace damage in the sysctl table while at it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Don Zickus <dzickus@redhat.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Chris Metcalf <cmetcalf@mellanox.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: Ulrich Obergfell <uobergfe@redhat.com> Link: http://lkml.kernel.org/r/20170912194147.783210221@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 539cb4e97bb8..4c08ed4a379e 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -871,9 +871,9 @@ static struct ctl_table kern_table[] = {
871#if defined(CONFIG_LOCKUP_DETECTOR) 871#if defined(CONFIG_LOCKUP_DETECTOR)
872 { 872 {
873 .procname = "watchdog", 873 .procname = "watchdog",
874 .data = &watchdog_user_enabled, 874 .data = &watchdog_user_enabled,
875 .maxlen = sizeof (int), 875 .maxlen = sizeof(int),
876 .mode = 0644, 876 .mode = 0644,
877 .proc_handler = proc_watchdog, 877 .proc_handler = proc_watchdog,
878 .extra1 = &zero, 878 .extra1 = &zero,
879 .extra2 = &one, 879 .extra2 = &one,
@@ -889,8 +889,8 @@ static struct ctl_table kern_table[] = {
889 }, 889 },
890 { 890 {
891 .procname = "nmi_watchdog", 891 .procname = "nmi_watchdog",
892 .data = &nmi_watchdog_enabled, 892 .data = &nmi_watchdog_user_enabled,
893 .maxlen = sizeof (int), 893 .maxlen = sizeof(int),
894 .mode = NMI_WATCHDOG_SYSCTL_PERM, 894 .mode = NMI_WATCHDOG_SYSCTL_PERM,
895 .proc_handler = proc_nmi_watchdog, 895 .proc_handler = proc_nmi_watchdog,
896 .extra1 = &zero, 896 .extra1 = &zero,
@@ -906,9 +906,9 @@ static struct ctl_table kern_table[] = {
906#ifdef CONFIG_SOFTLOCKUP_DETECTOR 906#ifdef CONFIG_SOFTLOCKUP_DETECTOR
907 { 907 {
908 .procname = "soft_watchdog", 908 .procname = "soft_watchdog",
909 .data = &soft_watchdog_enabled, 909 .data = &soft_watchdog_user_enabled,
910 .maxlen = sizeof (int), 910 .maxlen = sizeof(int),
911 .mode = 0644, 911 .mode = 0644,
912 .proc_handler = proc_soft_watchdog, 912 .proc_handler = proc_soft_watchdog,
913 .extra1 = &zero, 913 .extra1 = &zero,
914 .extra2 = &one, 914 .extra2 = &one,