use "r" instead of "q"

This commit is contained in:
Igor Sysoev 2007-01-11 16:00:02 +00:00
parent feb42254ba
commit 2ffaa986e2

View File

@ -68,7 +68,7 @@ ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add)
NGX_SMP_LOCK NGX_SMP_LOCK
" xaddq %0, %1; " " xaddq %0, %1; "
: "+q" (add) : "m" (*value) : "cc", "memory"); : "+r" (add) : "m" (*value) : "cc", "memory");
return add; return add;
} }