commit | b29c617af3b09d150d3889836c24d39564b39180 | [log] [tgz] |
---|---|---|
author | Christoph Lameter <cl@linux.com> | Mon Dec 06 11:40:06 2010 -0600 |
committer | Tejun Heo <tj@kernel.org> | Fri Dec 17 15:18:05 2010 +0100 |
tree | 17514cd85f64917e96d736b6dc5ac681dab93955 | |
parent | ee1be8626355e6a1f3f8c44e2351ff2661c5998d [diff] |
random: Use this_cpu_inc_return __this_cpu_inc can create a single instruction to do the same as __get_cpu_var()++. Cc: Richard Kennedy <richard@rsk.demon.co.uk> Cc: Matt Mackall <mpm@selenic.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>