From: Igor Sysoev Date: Thu, 11 Jan 2007 16:00:02 +0000 (+0000) Subject: use "r" instead of "q" X-Git-Tag: release-0.5.7~26 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=2ffaa986e2d0ced70017c842f8873a335b9719df;p=nginx.git use "r" instead of "q" --- diff --git a/src/os/unix/ngx_gcc_atomic_amd64.h b/src/os/unix/ngx_gcc_atomic_amd64.h index 289cd614e..faaf7afe8 100644 --- 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_atomic_int_t add) NGX_SMP_LOCK " xaddq %0, %1; " - : "+q" (add) : "m" (*value) : "cc", "memory"); + : "+r" (add) : "m" (*value) : "cc", "memory"); return add; }