diff options
author | Christoph Lameter <cl@linux.com> | 2010-12-08 17:42:23 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-08 17:42:23 +0100 |
commit | 5d201a6821425cb331a1dd5ccaba47fc75692e2b (patch) | |
tree | 6ee776d62777726cb744bfc64b308bceaeed048a /lib | |
parent | efc18bf2ae086bbf4a5f1bfbb914bafc128bd22d (diff) |
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>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions