diff options
| author | ad <ad@NetBSD.org> | 2007-09-11 16:07:15 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2007-09-11 16:07:15 +0000 |
| commit | 7db40473e2e1ce5c7fdf8dfafa92d2ec83a8ebbe (patch) | |
| tree | 19ab0456c0bc1dc4e2dc6f05edd9d27fd22bc8f1 /lib/libpthread | |
| parent | 913f43886db155f913c148e8ad69edf157ed7ae4 (diff) | |
Fix a dodgy bit of assembly.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/arch/x86_64/_context_u.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/arch/x86_64/_context_u.S b/lib/libpthread/arch/x86_64/_context_u.S index 14e117bd911..69d41d417dc 100644 --- a/lib/libpthread/arch/x86_64/_context_u.S +++ b/lib/libpthread/arch/x86_64/_context_u.S @@ -1,4 +1,4 @@ -/* $NetBSD: _context_u.S,v 1.6 2007/09/07 14:09:29 ad Exp $ */ +/* $NetBSD: _context_u.S,v 1.7 2007/09/11 16:07:15 ad Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -155,15 +155,15 @@ ENTRY(pthread__atomic_swap_ptr) ENTRY(pthread__membar_full) lock - addq $0, -4(%rsp) + addq $0, -8(%rsp) ret ENTRY(pthread__membar_producer) /* A store is enough */ - movq $0, -4(%rsp) + movq $0, -8(%rsp) ret ENTRY(pthread__membar_consumer) lock - addq $0, -4(%rsp) + addq $0, -8(%rsp) ret |
