diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2012-02-23 17:41:27 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-03-02 12:23:49 +0100 |
commit | 2e5b5b3a1b7768c89fbfeca18e75f8ee377e924c (patch) | |
tree | 0d6d589e42b7e88464d5edcfa818b3a7e27a93e8 /include | |
parent | 367456c756a6b84f493ca9cc5b17b1f5d38ef466 (diff) | |
download | linux-2e5b5b3a1b7768c89fbfeca18e75f8ee377e924c.tar.gz linux-2e5b5b3a1b7768c89fbfeca18e75f8ee377e924c.tar.bz2 linux-2e5b5b3a1b7768c89fbfeca18e75f8ee377e924c.zip |
sched: Clean up parameter passing of proc_sched_autogroup_set_nice()
Pass nice as a value to proc_sched_autogroup_set_nice().
No side effect is expected, and the variable err will be overwritten with
the return value.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4F45FBB7.5090607@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c628a9151437..c298fb9cf5ad 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2065,7 +2065,7 @@ extern void sched_autogroup_fork(struct signal_struct *sig); extern void sched_autogroup_exit(struct signal_struct *sig); #ifdef CONFIG_PROC_FS extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m); -extern int proc_sched_autogroup_set_nice(struct task_struct *p, int *nice); +extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice); #endif #else static inline void sched_autogroup_create_attach(struct task_struct *p) { } |