cpuset: drop "const" qualifiers from struct cpuset instances
authorTejun Heo <tj@kernel.org>
Fri, 9 Aug 2013 00:11:22 +0000 (20:11 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 9 Aug 2013 00:11:22 +0000 (20:11 -0400)
commitc9710d8018273b0740e0794858f1961fcea5e61a
tree889735f6c439e4cb49a7f0d47514522406f3d924
parent8af01f56a03e9cbd91a55d688fce1315021efba8
cpuset: drop "const" qualifiers from struct cpuset instances

cpuset uses "const" qualifiers on struct cpuset in some functions;
however, it doesn't work well when a value derived from returned const
pointer has to be passed to an accessor.  It's C after all.

Drop the "const" qualifiers except for the trivially leaf ones.  This
patch doesn't make any functional changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
kernel/cpuset.c