From patchwork Fri Aug 30 16:30:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1155991 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-104938-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="KYSZKEPb"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46KlMY4mVmz9s7T for ; Sat, 31 Aug 2019 02:30:33 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; q=dns; s=default; b=Iz+ a6ZcpTpqX2JMJ3iTejeFlOvvb5H8KuQV5yBJD8tPxi8XcQ1M1HIblxGTsTZG348D tBMQ3Pq1YXM1ax0J+coXBGdDsBEouVYg+sx+0ORb38XwlxjkQTeWOKkj+TcWJOZG s1HiNUNFMpJP9P84rXWwrxs3QGEJ7+CTXUk/Q3EE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=default; bh=5bvWNuOLq F6g3MHac/FP70/xuBg=; b=KYSZKEPbRJBiGaFvDj3L8aFbE3LjB/Wtf+7VMQtir Pet16kZaP493pbSjis0nX8MCI6XtlOnPm+kKjG1F/pEnLtbyL+sqCtyXzN2fL2O0 fPjJ9UOWmvLij+jzeVPPQVJoAvel8eZ2iIitqaOp8tF3i3M4I67paM/Vs8crfbT7 eg= Received: (qmail 125794 invoked by alias); 30 Aug 2019 16:30:27 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 119842 invoked by uid 89); 30 Aug 2019 16:30:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail3-relais-sop.national.inria.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] hurd: Fix build Date: Fri, 30 Aug 2019 18:30:01 +0200 Message-Id: <20190830163001.14480-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): Spin-lock '&ss->lock', not 'ss'. --- sysdeps/mach/hurd/i386/sigreturn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c index c9eaf96f7d..111ca33b54 100644 --- a/sysdeps/mach/hurd/i386/sigreturn.c +++ b/sysdeps/mach/hurd/i386/sigreturn.c @@ -30,7 +30,7 @@ static void __sigreturn2 (int *usp) { struct hurd_sigstate *ss = _hurd_self_sigstate (); - __spin_unlock (ss); + __spin_unlock (&ss->lock); sp = usp; #define A(line) asm volatile (#line)