From: David S. Miller Date: Sat, 27 Oct 2007 07:23:22 +0000 (-0700) Subject: [SPARC64]: Fix BACKOFF_SPIN on non-SMP. X-Git-Tag: v2.6.24-rc2~128^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0aa031d9e047f22679e5ad4069667ec1d22b39dc;p=linux-2.6-omap-h63xx.git [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 --- diff --git a/include/asm-sparc64/backoff.h b/include/asm-sparc64/backoff.h index 0e32f8b62fd..dadd6c385c6 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