diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-21 08:04:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-21 08:04:28 -0700 |
commit | ae51801ba5ca27c2c571eb508daa99b392e79bd4 (patch) | |
tree | 07f9c2a4cad33791c87211fb43553bf42f6fa4b5 /include | |
parent | 7d3628b230ecbdc29566c18bc7800ff8ed66a71f (diff) | |
parent | 4cfea5a7dfcc2766251e50ca30271a782d5004ad (diff) | |
download | op-kernel-dev-ae51801ba5ca27c2c571eb508daa99b392e79bd4.zip op-kernel-dev-ae51801ba5ca27c2c571eb508daa99b392e79bd4.tar.gz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC64]: Fix atomic backoff limit.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/backoff.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/backoff.h b/include/asm-sparc64/backoff.h index dadd6c3..fa1fdf6 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; \ |