]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SPARC64: Fix atomic backoff limit.
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Apr 2008 07:25:20 +0000 (00:25 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:27 +0000 (18:53 -0700)
commitd08242303cea836fd2587d776e5c743b3e02ae2a
tree383ca3830855ae4296896e0e11e10daae66742c3
parent1814e31332384ae44b9ed55f0393faacfa52f02a
SPARC64: Fix atomic backoff limit.

Upstream commit: 4cfea5a7dfcc2766251e50ca30271a782d5004ad

4096 will not fit into the immediate field of a compare instruction,
in fact it will end up being -4096 causing the check to fail every
time and thus disabling backoff.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
include/asm-sparc64/backoff.h