summaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2010-10-27 01:23:09 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 03:52:19 +0400
commitea00c30b5b31baa91be29bee966204eccc15e9d3 (patch)
treede5ad33475f3234048cc07d4676d963b8b4f314e /lib/parser.c
parent041b78f232bb87b2de8ca3fed50384bc7dc9c2de (diff)
downloadlinux-ea00c30b5b31baa91be29bee966204eccc15e9d3.tar.xz
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 <cl@linux.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions