Skip to content

Commit

Permalink
[SPARC64]: Fix BACKOFF_SPIN on non-SMP.
Browse files Browse the repository at this point in the history
It can't be just empty, it has to at least branch
back to 'label'.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Oct 27, 2007
1 parent 64d329e commit 0aa031d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-sparc64/backoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
#else

#define BACKOFF_SETUP(reg)
#define BACKOFF_SPIN(reg, tmp, label)
#define BACKOFF_SPIN(reg, tmp, label) \
ba,pt %xcc, label; \
nop;

#endif

Expand Down

0 comments on commit 0aa031d

Please sign in to comment.