sysctl: Add neg_one as a standard constraint
authorAaron Tomlin <atomlin@redhat.com>
Mon, 20 Jan 2014 17:34:12 +0000 (17:34 +0000)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2014 07:59:53 +0000 (08:59 +0100)
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>
kernel/sysctl.c

index c8da99f905cf522a34dd7ff059bde584e4d8c90a..c398a58673a75594ad5951dc4607f07dce451f62 100644 (file)
@@ -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;