sched, autogroup, sysctl: Use proc_dointvec_minmax() instead
authorYong Zhang <yong.zhang0@gmail.com>
Sun, 20 Feb 2011 07:08:12 +0000 (15:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Feb 2011 10:33:58 +0000 (11:33 +0100)
commit1747b21fecbfb63fbf6b9624e8b92707960d5a97
tree5c318fb7d8426f760f5cf3e3f1c256fb6b9fe1a8
parent866ab43efd325fae8889ea77a744d03f2b957e38
sched, autogroup, sysctl: Use proc_dointvec_minmax() instead

sched_autogroup_enabled has min/max value, proc_dointvec_minmax() is
be used for this case.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1298185696-4403-2-git-send-email-yong.zhang0@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sysctl.c