patches/eglibc/trunk/100-powerpc-private_futex.patch
author Titus von Boxberg <tvb377@gmx.de>
Wed Feb 03 00:24:24 2010 +0100 (2010-02-03)
changeset 1799 226c8f5861e5
permissions -rw-r--r--
scripts: use kernel name (uname -s) when system name (uname -o) is not availabe

'uname -o' is a GNU extension.
     1 2008-04-28  Hiroki Kaminaga  <kaminaga@sm.sony.co.jp>
     2 
     3 	[BZ 6740]
     4 	nptl/sysdeps/powerpc/tcb-offsets.sym (PRIVATE_FUTEX_OFFSET):
     5 	Guard sym definition with #ifndef __ASSUME_PRIVATE_FUTEX.
     6 
     7 --- a/nptl/sysdeps/powerpc/tcb-offsets.sym
     8 +++ b/nptl/sysdeps/powerpc/tcb-offsets.sym
     9 @@ -15,4 +15,6 @@
    10  PID				thread_offsetof (pid)
    11  TID				thread_offsetof (tid)
    12  POINTER_GUARD			(offsetof (tcbhead_t, pointer_guard) - TLS_TCB_OFFSET - sizeof (tcbhead_t))
    13 +#ifndef __ASSUME_PRIVATE_FUTEX
    14  PRIVATE_FUTEX_OFFSET		thread_offsetof (header.private_futex)
    15 +#endif