From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27398 invoked by alias); 10 Jan 2006 00:37:27 -0000 Received: (qmail 27381 invoked by uid 22791); 10 Jan 2006 00:37:26 -0000 X-Spam-Check-By: sourceware.org Received: from are.twiddle.net (HELO are.twiddle.net) (64.81.246.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jan 2006 00:37:26 +0000 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.12.11/8.12.11) with ESMTP id k0A0bOEj016488 for ; Mon, 9 Jan 2006 16:37:24 -0800 Received: (from rth@localhost) by are.twiddle.net (8.12.11/8.12.11/Submit) id k0A0bOYA016487 for libc-hacker@sources.redhat.com; Mon, 9 Jan 2006 16:37:24 -0800 Date: Tue, 10 Jan 2006 00:37:00 -0000 From: Richard Henderson To: libc-hacker@sources.redhat.com Subject: [patch] alpha nptl fix Message-ID: <20060110003724.GB16111@twiddle.net> Mail-Followup-To: libc-hacker@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00039.txt.bz2 The following appears to be needed after the recent changes to this file. r~ 2006-01-09 Richard Henderson * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t): Name __data structure; use this for __next and __prev. Index: nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h =================================================================== RCS file: /cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h,v retrieving revision 1.10 diff -u -p -d -r1.10 pthreadtypes.h --- nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h 27 Dec 2005 15:08:35 -0000 1.10 +++ nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h 9 Jan 2006 23:06:00 -0000 @@ -47,7 +47,7 @@ typedef union type is deliberately not exposed. */ typedef union __pthread_mutex_u { - struct + struct __pthread_mutex_s { int __lock; unsigned int __count; @@ -57,8 +57,8 @@ typedef union __pthread_mutex_u binary compatibility. */ int __kind; int __spins; - union __pthread_mutex_u *__next; - union __pthread_mutex_u *__prev; + struct __pthread_mutex_s *__next; + struct __pthread_mutex_s *__prev; #define __PTHREAD_MUTEX_HAVE_PREV 1 } __data; char __size[__SIZEOF_PTHREAD_MUTEX_T];