summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-13 12:58:43 +0100
committerTejun Heo <tj@kernel.org>2014-02-13 12:58:43 +0100
commit9db8de3722d184b8a431afd6bef803d6867ac889 (patch)
treeeeb23ad425d8bad43382e53ac61287092b0a8530 /kernel/power
parentcgroup: remove cgroup_taskset_cur_css() and cgroup_taskset_size() (diff)
downloadlinux-9db8de3722d184b8a431afd6bef803d6867ac889.tar.xz
linux-9db8de3722d184b8a431afd6bef803d6867ac889.zip
cgroup: cosmetic updates to cgroup_attach_task()
cgroup_attach_task() is planned to go through restructuring. Let's tidy it up a bit in preparation. * Update cgroup_attach_task() to receive the target task argument in @leader instead of @tsk. * Rename @tsk to @task. * Rename @retval to @ret. This is purely cosmetic. v2: get_nr_threads() was using uninitialized @task instead of @leader. Fixed. Reported by Dan Carpenter. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com> Cc: Dan Carpenter <dan.carpenter@oracle.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions