diff options
author | Christoph Lameter <cl@linux.com> | 2010-12-06 11:40:00 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-17 15:15:28 +0100 |
commit | 8f1d97c79eb65de1d05799d6b81d79cd94169114 (patch) | |
tree | f9732488505ee3782b48bed139a14190095911d6 /kernel | |
parent | a663ffff1d2e94a7c549a37d08ed9169ce83bdd6 (diff) | |
download | linux-8f1d97c79eb65de1d05799d6b81d79cd94169114.tar.gz linux-8f1d97c79eb65de1d05799d6b81d79cd94169114.tar.bz2 linux-8f1d97c79eb65de1d05799d6b81d79cd94169114.zip |
x86: Support for this_cpu_add, sub, dec, inc_return
Supply an implementation for x86 in order to generate more efficient code.
V2->V3:
- Cleanup
- Remove strange type checking from percpu_add_return_op.
tj: - Dropped unused typedef from percpu_add_return_op().
- Renamed ret__ to paro_ret__ in percpu_add_return_op().
- Minor indentation adjustments.
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 'kernel')
0 files changed, 0 insertions, 0 deletions