summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max8925-regulator.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2011-03-24 00:42:46 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 03:46:34 +0100
commitc8163ca8afcac0fc54593fc60d1e1110edbd0eb2 (patch)
tree55a363ed73b91d8350d2df7083abf49c5c97b20d /drivers/regulator/max8925-regulator.c
parentcpuset: remove unneeded NODEMASK_ALLOC() in cpuset_sprintf_memlist() (diff)
downloadlinux-c8163ca8afcac0fc54593fc60d1e1110edbd0eb2.tar.xz
linux-c8163ca8afcac0fc54593fc60d1e1110edbd0eb2.zip
cpuset: remove unneeded NODEMASK_ALLOC() in cpuset_attach()
oldcs->mems_allowed is not modified during cpuset_attach(), so we don't have to copy it to a buffer allocated by NODEMASK_ALLOC(). Just pass it to cpuset_migrate_mm(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Cc: Paul Menage <menage@google.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/max8925-regulator.c')
0 files changed, 0 insertions, 0 deletions