Skip to content
Commit c1955b5f authored by Tejun Heo's avatar Tejun Heo
Browse files

x86: Use this_cpu_inc_return for nmi counter



this_cpu_inc_return() saves us a memory access there.

Reviewed-by: default avatarPekka Enberg <penberg@kernel.org>
Reviewed-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7b543a53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment