projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6438999
)
sysctl: Add neg_one as a standard constraint
author
Aaron Tomlin
<atomlin@redhat.com>
Mon, 20 Jan 2014 17:34:12 +0000
(17:34 +0000)
committer
Ingo 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
patch
|
blob
|
history
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index
c8da99f
..
c398a58
100644
(file)
--- 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;