mirror of
https://github.com/nginx/nginx.git
synced 2026-06-24 19:06:48 +00:00
use "r" instead of "q"
This commit is contained in:
parent
feb42254ba
commit
2ffaa986e2
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ ngx_atomic_fetch_add(ngx_atomic_t *value, ngx_atomic_int_t add)
|
|||
NGX_SMP_LOCK
|
||||
" xaddq %0, %1; "
|
||||
|
||||
: "+q" (add) : "m" (*value) : "cc", "memory");
|
||||
: "+r" (add) : "m" (*value) : "cc", "memory");
|
||||
|
||||
return add;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue