summaryrefslogtreecommitdiffstats
path: root/lib/libspl/asm-i386
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libspl/asm-i386')
-rw-r--r--lib/libspl/asm-i386/atomic.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libspl/asm-i386/atomic.S b/lib/libspl/asm-i386/atomic.S
index d3d425090..3086d5543 100644
--- a/lib/libspl/asm-i386/atomic.S
+++ b/lib/libspl/asm-i386/atomic.S
@@ -507,7 +507,7 @@
movl 16(%esp), %ebx
movl 20(%esp), %ecx
subl %eax, %ebx
- adcl %edx, %ecx
+ sbbl %edx, %ecx
lock
cmpxchg8b (%edi)
jne 1b