]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Fix BACKOFF_SPIN on non-SMP.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:23:22 +0000 (00:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:23:22 +0000 (00:23 -0700)
It can't be just empty, it has to at least branch
back to 'label'.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-sparc64/backoff.h

index 0e32f8b62fd29e18cf0f0b3d7cf9e44b32c228a7..dadd6c385c6c0f31bb6c40f0b27af1e478e90d2a 100644 (file)
@@ -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