From: Christoph Lameter Date: Mon, 6 Dec 2010 17:39:59 +0000 (-0600) Subject: percpu: Generic support for this_cpu_add, sub, dec, inc_return X-Git-Tag: v2.6.38-rc1~455^2~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a663ffff1d2e94a7c549a37d08ed9169ce83bdd6;p=pandora-kernel.git 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 Reviewed-by: Mathieu Desnoyers Acked-by: H. Peter Anvin Signed-off-by: Christoph Lameter Signed-off-by: Tejun Heo --- Reading git-diff-tree failed