summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2010-12-08 17:42:23 +0100
committerTejun Heo <tj@kernel.org>2010-12-17 15:18:05 +0100
commit3ea9f6833c8f865a221b59ce37d7650dcf3b3e17 (patch)
tree1f304f3ef65c84c9a6446d2ad7fa3ce2e7e248ad /scripts/coccinelle
parentb2e4ae69757cdfef4c612a04f097c1e20489a565 (diff)
downloadop-kernel-dev-3ea9f6833c8f865a221b59ce37d7650dcf3b3e17.zip
op-kernel-dev-3ea9f6833c8f865a221b59ce37d7650dcf3b3e17.tar.gz
connector: Use this_cpu operations
The patch was originally in the use cpuops patchset but it needs an inc_return and is therefore dependent on an extension of the cpu ops. Fixed up and verified that it compiles. get_seq can benefit from this_cpu_operations. Address calculation is avoided and the increment is done using an xadd. Cc: Scott James Remnant <scott@ubuntu.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud