Skip to content
Commit 7bc069c6 authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86: fix spin_is_contended()



The masked difference is what needs to be compared against 1, rather
than the difference of masked values (which can be negative).

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Acked-by: default avatarNick Piggin <npiggin@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8bb85190
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