| commit | 0f58189d4a3ca96d7959501ecb203177efdbc5bd | [log] [tgz] |
|---|---|---|
| author | David S. Miller <davem@davemloft.net> | Wed Aug 18 22:53:26 2010 -0700 |
| committer | David S. Miller <davem@davemloft.net> | Wed Aug 18 22:53:26 2010 -0700 |
| tree | b5ad2f63da4c1caa5d20487cf370d51e4392111c | |
| parent | 6ec274750c99448c3412bbc10c97ce0c993f8a4e [diff] |
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: David S. Miller <davem@davemloft.net>