diff options
author | bde <bde@FreeBSD.org> | 2006-12-29 15:48:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2006-12-29 15:48:18 +0000 |
commit | c4404408facebb70dc013454e00603413bf27e34 (patch) | |
tree | f58328d4bfc7bdbd3c873820e6639ec0cc177707 /sys/i386 | |
parent | b616a20d0853922248175f0337a0305b4d24c134 (diff) | |
download | FreeBSD-src-c4404408facebb70dc013454e00603413bf27e34.zip FreeBSD-src-c4404408facebb70dc013454e00603413bf27e34.tar.gz |
Fix oops in previous commit.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/atomic.h | 2 |
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)); |