diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-05-05 13:46:55 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-06 07:31:14 -0400 |
commit | fc34ac1dc52f02a7cf1862960c24771e4883e39b (patch) | |
tree | e7ad0e590588ff8558ad11af4e310f770b1a6c7e /kernel/cpuset.c | |
parent | 60106946ca7f63396680130b25511ccf6b7d5bff (diff) |
kernel/cpuset.c: kernel-doc fixes
This patch also converts seq_printf to seq_puts
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 3d54c418bd06..1d8c0472bfb0 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -890,6 +890,7 @@ static void update_tasks_cpumask_hier(struct cpuset *root_cs, bool update_root) | |||
890 | /** | 890 | /** |
891 | * update_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it | 891 | * update_cpumask - update the cpus_allowed mask of a cpuset and all tasks in it |
892 | * @cs: the cpuset to consider | 892 | * @cs: the cpuset to consider |
893 | * @trialcs: trial cpuset | ||
893 | * @buf: buffer of cpu numbers written to this cpuset | 894 | * @buf: buffer of cpu numbers written to this cpuset |
894 | */ | 895 | */ |
895 | static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs, | 896 | static int update_cpumask(struct cpuset *cs, struct cpuset *trialcs, |
@@ -2536,7 +2537,7 @@ int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, | |||
2536 | 2537 | ||
2537 | /** | 2538 | /** |
2538 | * cpuset_print_task_mems_allowed - prints task's cpuset and mems_allowed | 2539 | * cpuset_print_task_mems_allowed - prints task's cpuset and mems_allowed |
2539 | * @task: pointer to task_struct of some task. | 2540 | * @tsk: pointer to task_struct of some task. |
2540 | * | 2541 | * |
2541 | * Description: Prints @task's name, cpuset name, and cached copy of its | 2542 | * Description: Prints @task's name, cpuset name, and cached copy of its |
2542 | * mems_allowed to the kernel log. | 2543 | * mems_allowed to the kernel log. |
@@ -2646,10 +2647,10 @@ out: | |||
2646 | /* Display task mems_allowed in /proc/<pid>/status file. */ | 2647 | /* Display task mems_allowed in /proc/<pid>/status file. */ |
2647 | void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) | 2648 | void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) |
2648 | { | 2649 | { |
2649 | seq_printf(m, "Mems_allowed:\t"); | 2650 | seq_puts(m, "Mems_allowed:\t"); |
2650 | seq_nodemask(m, &task->mems_allowed); | 2651 | seq_nodemask(m, &task->mems_allowed); |
2651 | seq_printf(m, "\n"); | 2652 | seq_puts(m, "\n"); |
2652 | seq_printf(m, "Mems_allowed_list:\t"); | 2653 | seq_puts(m, "Mems_allowed_list:\t"); |
2653 | seq_nodemask_list(m, &task->mems_allowed); | 2654 | seq_nodemask_list(m, &task->mems_allowed); |
2654 | seq_printf(m, "\n"); | 2655 | seq_puts(m, "\n"); |
2655 | } | 2656 | } |