sched: Use clamp() and clamp_val() to make sys_nice() more readable
sched: Use clamp() and clamp_val() to make sys_nice() more readable

Suggested-by: Kees Cook <50cb10d2be062154b17ab4d66a4eab34f1cf1c84@chromium.org>
Signed-off-by: Dongsheng Yang <1b957dfff8d0f16ed124fab3c79d8c1232c34692@cn.fujitsu.com>
Signed-off-by: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>
Link: http://lkml.kernel.org/r/1399541715-19568-1-git-send-email-1b957dfff8d0f16ed124fab3c79d8c1232c34692@cn.fujitsu.com
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs