Skip to content
Commit 8aef36da authored by Al Viro's avatar Al Viro
Browse files

x86: don't reload after cmpxchg in unsafe_atomic_op2() loop



lock cmpxchg leaves the current value in eax; no need to reload it.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0ec33c01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment