diff options
Diffstat (limited to 'src/core/ngx_atomic.h')
-rw-r--r-- | src/core/ngx_atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_atomic.h b/src/core/ngx_atomic.h index 5f5add9df..bf771e95c 100644 --- a/src/core/ngx_atomic.h +++ b/src/core/ngx_atomic.h @@ -59,7 +59,7 @@ static ngx_inline uint32_t ngx_atomic_cmp_set(ngx_atomic_t *lock, NGX_SMP_LOCK " cmpxchgl %3, %1; " - " setzb %%al; " + " setz %%al; " " movzbl %%al, %0; " : "=a" (res) : "m" (*lock), "a" (old), "q" (set)); |