summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-09-30 20:13:51 +0000
committermarius <marius@FreeBSD.org>2011-09-30 20:13:51 +0000
commit0175576bbb095199384c6eb77639d5139105460b (patch)
treea4ca3f5e17affc3d805c47f5780b8c189ff76309 /sys/sparc64
parenta16da0d422862da0ff07b98d3cdac9b6f21c772d (diff)
downloadFreeBSD-src-0175576bbb095199384c6eb77639d5139105460b.zip
FreeBSD-src-0175576bbb095199384c6eb77639d5139105460b.tar.gz
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.
Diffstat (limited to 'sys/sparc64')
-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 15446ed..05be6ad 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
/*
OpenPOWER on IntegriCloud