diff options
author | Christoph Lameter <cl@linux.com> | 2010-12-06 11:40:06 -0600 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2010-12-17 15:18:05 +0100 |
commit | b29c617af3b09d150d3889836c24d39564b39180 (patch) | |
tree | 17514cd85f64917e96d736b6dc5ac681dab93955 /kernel/power/power.h | |
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>
Diffstat (limited to 'kernel/power/power.h')
0 files changed, 0 insertions, 0 deletions