From: Christoph Lameter Date: Tue, 26 Oct 2010 21:23:09 +0000 (-0700) Subject: percpu_counter: use this_cpu_ptr() instead of per_cpu_ptr() X-Git-Tag: v2.6.37-rc1~105^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea00c30b5b31baa91be29bee966204eccc15e9d3;p=pandora-kernel.git percpu_counter: use this_cpu_ptr() instead of per_cpu_ptr() this_cpu_ptr() avoids an array lookup and can use the percpu offset of the local cpu directly. Signed-off-by: Christoph Lameter Cc: Eric Dumazet Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed