diff options
author | Zefan Li <lizefan@huawei.com> | 2014-09-18 16:03:36 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-18 13:27:23 -0400 |
commit | 52de4779f201758ddcf37360f09a16895756e708 (patch) | |
tree | 4817eb47aebdd04ecaa03956f69d7f5a60291a57 /include/linux/cpuset.h | |
parent | 006f4ac49742b5f70ef7e39176fd42a500144ccc (diff) | |
download | talos-op-linux-52de4779f201758ddcf37360f09a16895756e708.tar.gz talos-op-linux-52de4779f201758ddcf37360f09a16895756e708.zip |
cpuset: simplify proc_cpuset_show()
Use the ONE macro instead of REG, and we can simplify proc_cpuset_show().
Signed-off-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cpuset.h')
-rw-r--r-- | include/linux/cpuset.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index ade2390ffe92..0d4e0675b318 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -86,7 +86,8 @@ extern void __cpuset_memory_pressure_bump(void); extern void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task); -extern int proc_cpuset_show(struct seq_file *, void *); +extern int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns, + struct pid *pid, struct task_struct *tsk); extern int cpuset_mem_spread_node(void); extern int cpuset_slab_spread_node(void); |