summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2010-12-06 11:39:59 -0600
committerTejun Heo <tj@kernel.org>2010-12-17 15:15:28 +0100
commita663ffff1d2e94a7c549a37d08ed9169ce83bdd6 (patch)
treeb33e87a2b1051b8ae57eb39cd147122c59da9189 /kernel
parenta3383e8372c0c11238f9bb9777929bfc3a2d320a (diff)
downloadop-kernel-dev-a663ffff1d2e94a7c549a37d08ed9169ce83bdd6.zip
op-kernel-dev-a663ffff1d2e94a7c549a37d08ed9169ce83bdd6.tar.gz
percpu: Generic support for this_cpu_add, sub, dec, inc_return
Introduce generic support for this_cpu_add_return etc. The fallback is to realize these operations with simpler __this_cpu_ops. tj: - Reformatted __cpu_size_call_return2() to make it more consistent with its neighbors. - Dropped unnecessary temp variable ret__ from __this_cpu_generic_add_return(). Reviewed-by: Tejun Heo <tj@kernel.org> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> 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
OpenPOWER on IntegriCloud