diff options
author | Stefan Fritsch <sf@apache.org> | 2013-04-21 21:28:47 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2013-04-21 21:28:47 +0000 |
commit | 7b6031349236dffd680dc0a92a5f50df425c9e59 (patch) | |
tree | 25a261979617f573410aa8712fc730b074405bfd /atomic | |
parent | ac8dc1b2d60672b34351ed7f7f1e4cf23f05cc89 (diff) | |
download | apr-7b6031349236dffd680dc0a92a5f50df425c9e59.tar.gz |
Merge r1470348:
Fix amd64 assembler version of apr_atomic_xchgptr()
PR: 51851
Submitted by: Mattias EngdegÄrd <mattiase acm org>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1470349 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'atomic')
-rw-r--r-- | atomic/unix/ia32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atomic/unix/ia32.c b/atomic/unix/ia32.c index 3826f9275..63f48a753 100644 --- a/atomic/unix/ia32.c +++ b/atomic/unix/ia32.c @@ -117,7 +117,7 @@ APR_DECLARE(void*) apr_atomic_xchgptr(volatile void **mem, void *with) #elif APR_SIZEOF_VOIDP == 8 asm volatile ("xchgq %q2, %1" : "=a" (prev), "+m" (*mem) - : "r" ((unsigned long)with)); + : "0" (with)); #else #error APR_SIZEOF_VOIDP value not supported #endif |