From: Christoph Lameter Date: Wed, 8 Dec 2010 16:42:23 +0000 (+0100) Subject: connector: Use this_cpu operations X-Git-Tag: v2.6.38-rc1~455^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea9f6833c8f865a221b59ce37d7650dcf3b3e17;p=pandora-kernel.git 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 Cc: Mike Frysinger Acked-by: H. Peter Anvin Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed