Mercurial > hg > nginx
diff src/core/ngx_atomic.h @ 299:46b7eeb8a116
nginx-0.0.3-2004-03-30-19:59:50 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 30 Mar 2004 15:59:50 +0000 |
parents | 4a3f18406832 |
children | 502b03d9d2a3 |
line wrap: on
line diff
--- a/src/core/ngx_atomic.h +++ b/src/core/ngx_atomic.h @@ -28,7 +28,7 @@ static ngx_inline uint32_t ngx_atomic_in NGX_SMP_LOCK " xaddl %0, %1; " - : "=q" (old) : "m" (*value)); + : "+q" (old) : "m" (*value)); return old; } @@ -45,7 +45,7 @@ static ngx_inline uint32_t ngx_atomic_de NGX_SMP_LOCK " xaddl %0, %1; " - : "=q" (old) : "m" (*value)); + : "+q" (old) : "m" (*value)); return old; }