mm: replace __get_cpu_var uses with this_cpu_ptr
authorChristoph Lameter <cl@linux.com>
Wed, 4 Jun 2014 23:07:56 +0000 (16:07 -0700)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 14 Oct 2014 16:14:59 +0000 (17:14 +0100)
commitd845f58bf26cc08b97b74a356c4ec75b79f90b43
treee99b6af418e985db29baebf28fd1c08e660d5c49
parent7e9282359af17e0fa3bca8f7b18f106027aa063c
mm: replace __get_cpu_var uses with this_cpu_ptr

Replace places where __get_cpu_var() is used for an address calculation
with this_cpu_ptr().

Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/radix-tree.c
mm/memcontrol.c
mm/memory-failure.c
mm/page-writeback.c
mm/slub.c
mm/swap.c
mm/vmalloc.c
mm/vmstat.c
mm/zsmalloc.c