taskstats: Use this_cpu_ops
authorChristoph Lameter <cl@linux.com>
Wed, 8 Dec 2010 16:42:22 +0000 (17:42 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 17 Dec 2010 14:18:05 +0000 (15:18 +0100)
commitcd85fc58cd71bf6b89612efafb9a84e655ed7d66
tree263a03558fec644dfaa6b389106bb6f7d6bacfbd
parentb29c617af3b09d150d3889836c24d39564b39180
taskstats: Use this_cpu_ops

Use this_cpu_inc_return in one place and avoid ugly __raw_get_cpu in
another.

V3->V4:
- Fix off by one.

V4-V4f:
- Use &listener_array

Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/taskstats.c