aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/backoff.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-03-26 08:44:18 +1100
committerPaul Mackerras <paulus@samba.org>2008-03-26 08:44:18 +1100
commit54f53f2b94feb72622bec7a8563fc487d9f97720 (patch)
treeab0c4e1dcadd25a00fa7a4febf41bc43b864cf73 /include/asm-sparc64/backoff.h
parent[POWERPC] scanlog_init cleanup and minor fixes (diff)
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 (diff)
downloadlinux-dev-54f53f2b94feb72622bec7a8563fc487d9f97720.tar.xz
linux-dev-54f53f2b94feb72622bec7a8563fc487d9f97720.zip
Merge branch 'linux-2.6'
Diffstat (limited to 'include/asm-sparc64/backoff.h')
-rw-r--r--include/asm-sparc64/backoff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/backoff.h b/include/asm-sparc64/backoff.h
index dadd6c385c6c..fa1fdf67e350 100644
--- a/include/asm-sparc64/backoff.h
+++ b/include/asm-sparc64/backoff.h
@@ -12,7 +12,8 @@
mov reg, tmp; \
88: brnz,pt tmp, 88b; \
sub tmp, 1, tmp; \
- cmp reg, BACKOFF_LIMIT; \
+ set BACKOFF_LIMIT, tmp; \
+ cmp reg, tmp; \
bg,pn %xcc, label; \
nop; \
ba,pt %xcc, label; \