summaryrefslogtreecommitdiff
path: root/include/atomic
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mysql.com>2009-12-24 21:18:53 +0100
committerSergei Golubchik <serg@mysql.com>2009-12-24 21:18:53 +0100
commit50f9dc6a1d1adbd15ecef0584f9601c2f9b27742 (patch)
tree913201b52288ce791f2ef984fc9e15dbeccc52c6 /include/atomic
parentb4a39aeb5d491c4acc11ebc440554becff7bac3a (diff)
parent9f335d9e91901befc173fb44ade6a5ac3be01478 (diff)
downloadmariadb-git-50f9dc6a1d1adbd15ecef0584f9601c2f9b27742.tar.gz
merged
Diffstat (limited to 'include/atomic')
-rw-r--r--include/atomic/x86-gcc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atomic/x86-gcc.h b/include/atomic/x86-gcc.h
index 32839e0a67d..77c32f8d70c 100644
--- a/include/atomic/x86-gcc.h
+++ b/include/atomic/x86-gcc.h
@@ -108,7 +108,7 @@
int32 ebx=(set & 0xFFFFFFFF), ecx=(set >> 32); \
asm volatile ("push %%ebx; movl %3, %%ebx;" \
LOCK_prefix "; cmpxchg8b %0; setz %2; pop %%ebx"\
- : "+m" (*a), "+A" (*cmp), "=q" (ret) \
+ : "+m" (*a), "+A" (*cmp), "=c" (ret) \
:"m" (ebx), "c" (ecx))
#endif