commit | 8f1d97c79eb65de1d05799d6b81d79cd94169114 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Mon Dec 06 11:40:00 2010 -0600 |
committer | Tejun Heo <tj@kernel.org> | Fri Dec 17 15:15:28 2010 +0100 |
tree | f9732488505ee3782b48bed139a14190095911d6 | |
parent | a663ffff1d2e94a7c549a37d08ed9169ce83bdd6 [diff] |
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>