changeset 1007:f1ebccfd95f9

use "r" instead of "q"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 Jan 2007 16:00:02 +0000
parents 0d0c74b73573
children 51d0884364fe
files src/os/unix/ngx_gcc_atomic_amd64.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/unix/ngx_gcc_atomic_amd64.h
+++ b/src/os/unix/ngx_gcc_atomic_amd64.h
@@ -68,7 +68,7 @@ ngx_atomic_fetch_add(ngx_atomic_t *value
          NGX_SMP_LOCK
     "    xaddq  %0, %1;   "
 
-    : "+q" (add) : "m" (*value) : "cc", "memory");
+    : "+r" (add) : "m" (*value) : "cc", "memory");
 
     return add;
 }