From patchwork Thu Mar 20 11:28:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 332091 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 67E202C0081 for ; Thu, 20 Mar 2014 22:28:30 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=EEwEX2+gFpxP75LVZfF59ys4M2z8t fIQb0xaK3T0in+Uli8HeGZhliA4DyUnELiPYgztTaTED22r0D93foKQ7XxcNPV8R P++m20cJ4y96PTHDdqsC8EUheMsVzaKgp2jyjwIoq5m5jAJwEUATTyCz35o38Oo+ /89AMJm0FvkIec= 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:to:from:subject:date:message-id:mime-version :content-type; s=default; bh=GSf9lIcdv1sWmXDyA/U4v5lm/fo=; b=mgt DLgaytT0Q7ZYKml1NPw6kBlM+w9j64SzCoMvF1qVKow9JcthNQVmelHByztiMZlZ /undOGmwd8En78fPDJ6F66iGf6cVcIqwv+IXh/ZTdEsNGfzZam1FurZJ8gcUNya+ 3CQjb+TsA6vIuVz32toUyayDnUE5wQvbI77HheJw= Received: (qmail 1512 invoked by alias); 20 Mar 2014 11:28:25 -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 1501 invoked by uid 89); 20 Mar 2014 11:28:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: [PATCH] S/390: Define __PTHREAD_MUTEX_HAVE_ELISION. Date: Thu, 20 Mar 2014 12:28:08 +0100 Lines: 45 Message-ID: Mime-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 Hi, according to the -Wundef flag, i got a warning on S390 for __PTHREAD_MUTEX_HAVE_ELISION. In combination with the -Werror flag for nptl/tst-initializers1* testcases, the prerequirements for make check fails because of build-errors and no tests.sum is generated. For S/390 lock elision is currently not available. Bye --- 2014-03-20 Stefan Liebler * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h (__PTHREAD_MUTEX_HAVE_ELISION): New define. --- diff --git a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h index a361db6..23a1698 100644 --- a/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h +++ b/nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h @@ -20,6 +20,8 @@ #include +# define __PTHREAD_MUTEX_HAVE_ELISION 0 + #if __WORDSIZE == 64 # define __SIZEOF_PTHREAD_ATTR_T 56 # define __SIZEOF_PTHREAD_MUTEX_T 40