diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 15:59:50 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 15:59:50 +0000 |
commit | 6707ba90729c615ffa5bf5ea81b8d32c3d8bd6e4 (patch) | |
tree | 19d36a0fce05c80c6924e9eaf686b1fbd035662b /src/core/ngx_atomic.h | |
parent | 6881bfb99063e3d42abaa313641b311c6fc3522d (diff) | |
download | nginx-6707ba90729c615ffa5bf5ea81b8d32c3d8bd6e4.tar.gz nginx-6707ba90729c615ffa5bf5ea81b8d32c3d8bd6e4.zip |
nginx-0.0.3-2004-03-30-19:59:50 import
Diffstat (limited to 'src/core/ngx_atomic.h')
-rw-r--r-- | src/core/ngx_atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_atomic.h b/src/core/ngx_atomic.h index 6270d8a51..31bf94c45 100644 --- a/src/core/ngx_atomic.h +++ b/src/core/ngx_atomic.h @@ -28,7 +28,7 @@ static ngx_inline uint32_t ngx_atomic_inc(ngx_atomic_t *value) 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_dec(ngx_atomic_t *value) NGX_SMP_LOCK " xaddl %0, %1; " - : "=q" (old) : "m" (*value)); + : "+q" (old) : "m" (*value)); return old; } |