about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/sh/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-27 15:27:09 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-27 15:27:09 +0000
commitbfffffaee3bf0dd86a8460dc005d0cf840520834 (patch)
tree5298b87b06a73c20119f319cf405f22308b3bc1c /nptl/sysdeps/unix/sysv/linux/sh/bits
parent1911b455dc562a3b6d6ae71a2517097044f98f5e (diff)
downloadglibc-bfffffaee3bf0dd86a8460dc005d0cf840520834.tar.gz
glibc-bfffffaee3bf0dd86a8460dc005d0cf840520834.tar.xz
glibc-bfffffaee3bf0dd86a8460dc005d0cf840520834.zip
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
	and ENOTRECOVERABLE if not already defined.
	* sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.

2005-12-27  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
	entry for up to 138 errnos.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh/bits')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
index 5125408dcb..727ab811c0 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
+++ b/nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -46,7 +46,7 @@ typedef union
 
 /* Data structures for mutex handling.  The structure of the attribute
    type is not exposed on purpose.  */
-typedef union
+typedef union __pthread_mutex_u
 {
   struct
   {
@@ -57,7 +57,11 @@ typedef union
        binary compatibility.  */
     int __kind;
     unsigned int __nusers;
-    int __spins;
+    union
+    {
+      int __spins;
+      union __pthread_mutex_u *__next;
+    };
   } __data;
   char __size[__SIZEOF_PTHREAD_MUTEX_T];
   long int __align;