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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:03 +0000 (16:54 -0700)
commit7c8e0181e6e0b8079c4c2ce902bf52d7a2c6fa5d
treefe5aee0e426d8f0528856bb0decb95636ff3e8a0
parentdc6f6c97f1d3d58fef81f0f9db0c7d068b2cf392
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