summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2006-12-29 15:48:18 +0000
committerbde <bde@FreeBSD.org>2006-12-29 15:48:18 +0000
commitc4404408facebb70dc013454e00603413bf27e34 (patch)
treef58328d4bfc7bdbd3c873820e6639ec0cc177707
parentb616a20d0853922248175f0337a0305b4d24c134 (diff)
downloadFreeBSD-src-c4404408facebb70dc013454e00603413bf27e34.zip
FreeBSD-src-c4404408facebb70dc013454e00603413bf27e34.tar.gz
Fix oops in previous commit.
-rw-r--r--sys/i386/include/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/atomic.h b/sys/i386/include/atomic.h
index 726f5f2..d7465f9a 100644
--- a/sys/i386/include/atomic.h
+++ b/sys/i386/include/atomic.h
@@ -306,7 +306,7 @@ atomic_readandclear_long(volatile u_long *addr)
__asm __volatile(
" xchgl %1,%0 ; "
"# atomic_readandclear_long"
- : "+r" (result), /* 0 */
+ : "+r" (res), /* 0 */
"=m" (*addr) /* 1 */
: "m" (*addr));
OpenPOWER on IntegriCloud