diff options
author | Christoph Lameter <[email protected]> | 2010-10-26 14:23:09 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:19 -0700 |
commit | ea00c30b5b31baa91be29bee966204eccc15e9d3 (patch) | |
tree | de5ad33475f3234048cc07d4676d963b8b4f314e /lib/string_helpers.c | |
parent | 041b78f232bb87b2de8ca3fed50384bc7dc9c2de (diff) |
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 <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions