Skip to content
Commit 0f58189d authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Make lock backoff really a NOP on UP builds.



As noticed by Mikulas Patocka, the backoff macros don't
completely nop out for UP builds, we still get a
branch always and a delay slot nop.

Fix this by making the branch to the backoff spin loop
selective, then we can nop out the spin loop completely.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ec27475
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