summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorAaron Tomlin <atomlin@redhat.com>2014-01-20 18:34:12 +0100
committerIngo Molnar <mingo@kernel.org>2014-01-25 08:59:53 +0100
commit2397efb1bb17595b35f31abb40d95074ebc04f1b (patch)
tree4e8694d40ddb82a231718f9e188642fdfc966f6e /kernel/sysctl.c
parentx86/uv/nmi, kgdb/kdb: Fix UV NMI handler when KDB not configured (diff)
downloadlinux-2397efb1bb17595b35f31abb40d95074ebc04f1b.tar.xz
linux-2397efb1bb17595b35f31abb40d95074ebc04f1b.zip
sysctl: Add neg_one as a standard constraint
Add neg_one to the list of standard constraints - will be used by the next patch. Signed-off-by: Aaron Tomlin <atomlin@redhat.com> Acked-by: Rik van Riel <riel@redhat.com> Acked-by: David Rientjes <rientjes@google.com> Cc: oleg@redhat.com Link: http://lkml.kernel.org/r/1390239253-24030-2-git-send-email-atomlin@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index c8da99f905cf..c398a58673a7 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -122,6 +122,7 @@ extern int blk_iopoll_enabled;
static int sixty = 60;
#endif
+static int neg_one = -1;
static int zero;
static int __maybe_unused one = 1;
static int __maybe_unused two = 2;