projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
866ab43
)
sched, autogroup, sysctl: Use proc_dointvec_minmax() instead
author
Yong Zhang
<
[email protected]
>
Sun, 20 Feb 2011 07:08:12 +0000
(15:08 +0800)
committer
Ingo Molnar
<
[email protected]
>
Wed, 23 Feb 2011 10:33:58 +0000
(11:33 +0100)
sched_autogroup_enabled has min/max value, proc_dointvec_minmax() is
be used for this case.
Signed-off-by: Yong Zhang <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Signed-off-by: Peter Zijlstra <
[email protected]
>
LKML-Reference: <
1298185696
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sysctl.c
patch
|
blob
|
history
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index cb7c830f7faa1f8cc482ee96686512efb27746a8..7b5eeadfb254b63a70594de2a7f532fe9a24553a 100644
(file)
--- a/
kernel/sysctl.c
+++ b/
kernel/sysctl.c
@@
-367,7
+367,7
@@
static struct ctl_table kern_table[] = {
.data = &sysctl_sched_autogroup_enabled,
.maxlen = sizeof(unsigned int),
.mode = 0644,
- .proc_handler = proc_dointvec,
+ .proc_handler = proc_dointvec
_minmax
,
.extra1 = &zero,
.extra2 = &one,
},