aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/asmacros.h
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-09-30 20:13:51 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-09-30 20:13:51 +0000
commitade68e910d07210b37b0a9a3d5cdc66eb8b64e93 (patch)
treea4ca3f5e17affc3d805c47f5780b8c189ff76309 /sys/sparc64/include/asmacros.h
parent6fd7e2b7c6e49a877764dc9d9b9e6584c597f005 (diff)
downloadsrc-ade68e910d07210b37b0a9a3d5cdc66eb8b64e93.tar.gz
src-ade68e910d07210b37b0a9a3d5cdc66eb8b64e93.zip
Use the extended integer condition code when comparing 64-bit values. Given
that ATOMIC_INC_LONG currently is unused this happened to not be fatal.
Notes
Notes: svn path=/head/; revision=225887
Diffstat (limited to 'sys/sparc64/include/asmacros.h')
-rw-r--r--sys/sparc64/include/asmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/asmacros.h b/sys/sparc64/include/asmacros.h
index 15446ed2e0c3..05be6ad8043e 100644
--- a/sys/sparc64/include/asmacros.h
+++ b/sys/sparc64/include/asmacros.h
@@ -76,7 +76,7 @@
9: add r2, 1, r3 ; \
casxa [r1] ASI_N, r2, r3 ; \
cmp r2, r3 ; \
- bne,pn %icc, 9b ; \
+ bne,pn %xcc, 9b ; \
mov r3, r2
/*