From 7db40473e2e1ce5c7fdf8dfafa92d2ec83a8ebbe Mon Sep 17 00:00:00 2001 From: ad Date: Tue, 11 Sep 2007 16:07:15 +0000 Subject: Fix a dodgy bit of assembly. --- lib/libpthread/arch/x86_64/_context_u.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libpthread') 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 -- cgit