cpuset: simplify proc_cpuset_show()
authorZefan Li <lizefan@huawei.com>
Thu, 18 Sep 2014 08:03:36 +0000 (16:03 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 18 Sep 2014 17:27:23 +0000 (13:27 -0400)
commit52de4779f201758ddcf37360f09a16895756e708
tree4817eb47aebdd04ecaa03956f69d7f5a60291a57
parent006f4ac49742b5f70ef7e39176fd42a500144ccc
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>
fs/proc/base.c
include/linux/cpuset.h
kernel/cpuset.c