From patchwork Fri Dec 12 22:02:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland McGrath X-Patchwork-Id: 420697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 A85811400B7 for ; Sat, 13 Dec 2014 09:02:17 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; q= dns; s=default; b=SxTcMgHzcARdcagzMPcVCnTCKWf2+3lBII1FmGYqw/xn2U Kmafd/QUcRp0iB3aJ9nEjreQPN0C65l3nuSOBJ7iyqVJNiR1aAfFV98xQgMtwst8 Cmbh71fQwDaXeipxJEeyTyYDuLsj7E7B0TSsZQGkFfQNIXC3CBMfyU8QZ7WDQ= 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:mime-version:content-type :content-transfer-encoding:from:to:subject:message-id:date; s= default; bh=CE4MUedbJ8cE4S/Unj4FzSqxvnQ=; b=DrkmTB10kly8Z6MGDFe5 xUQpKSgVhpRLEfVeaLF5LZhDY0A0M6sfsBM9adMR+c/9dEdBgqypfSiIqNeADjm/ mDFQ0Ruus9Sy/yHWWrdgh3cOCGiyMmI0pI8JE94uOcGFhvXfUeeD7p124Bzf156c 5Ipx1fdvSEuAqYpjP8pDPnY= Received: (qmail 26786 invoked by alias); 12 Dec 2014 22:02:11 -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 26771 invoked by uid 89); 12 Dec 2014 22:02:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: topped-with-meat.com MIME-Version: 1.0 From: Roland McGrath To: "GNU C. Library" Subject: [COMMITTED PATCH] Fix NPTL build for !__ASSUME_SET_ROBUST_LIST case. Message-Id: <20141212220207.5A5C52C3ADB@topped-with-meat.com> Date: Fri, 12 Dec 2014 14:02:07 -0800 (PST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=SvUDtp+0 c=1 sm=1 tr=0 a=WkljmVdYkabdwxfqvArNOQ==:117 a=14OXPxybAAAA:8 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=BaWthqD_nK-D6A2nK3AA:9 a=CjuIK1q_8ugA:10 An old typo. 2014-12-12 Roland McGrath * nptl/pthread_create.c (START_THREAD_DEFN) [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument. --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -414,7 +414,7 @@ START_THREAD_DEFN this->__list.__next = NULL; atomic_or (&this->__lock, FUTEX_OWNER_DIED); - lll_futex_wake (this->__lock, 1, /* XYZ */ LLL_SHARED); + lll_futex_wake (&this->__lock, 1, /* XYZ */ LLL_SHARED); } while (robust != (void *) &pd->robust_head); }