summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-10-27 00:23:22 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-27 00:23:22 -0700
commit0aa031d9e047f22679e5ad4069667ec1d22b39dc (patch)
tree8ea7c7ac6415b4ca566e7f603a02e26632840292
parent64d329eec0313a071edd8176faf0a803012796d7 (diff)
downloadlinux-0aa031d9e047f22679e5ad4069667ec1d22b39dc.tar.gz
linux-0aa031d9e047f22679e5ad4069667ec1d22b39dc.tar.bz2
linux-0aa031d9e047f22679e5ad4069667ec1d22b39dc.zip
[SPARC64]: Fix BACKOFF_SPIN on non-SMP.
It can't be just empty, it has to at least branch back to 'label'. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/asm-sparc64/backoff.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sparc64/backoff.h b/include/asm-sparc64/backoff.h
index 0e32f8b62fd2..dadd6c385c6c 100644
--- a/include/asm-sparc64/backoff.h
+++ b/include/asm-sparc64/backoff.h
@@ -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