]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-sparc-lowlevellock.patch
- untested fix for i486 build
[packages/glibc.git] / glibc-sparc-lowlevellock.patch
1 2008-04-14  David S. Miller  <davem@davemloft.net>
2
3  * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
4  (__old_sem_wait): Fix argument to lll_futex_wait().
5
6 ===================================================================
7 RCS file: /cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c,v
8 retrieving revision 1.2
9 retrieving revision 1.3
10 diff -u -r1.2 -r1.3
11 --- libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c  2007/08/15 20:47:42     1.2
12 +++ libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c  2008/04/15 15:00:30     1.3
13 @@ -155,7 +155,7 @@
14        /* Enable asynchronous cancellation.  Required by the standard.  */
15        int oldtype = __pthread_enable_asynccancel ();
16  
17 -      err = lll_futex_wait (futex, 0,
18 +      err = lll_futex_wait (&isem->value, 0,
19                             isem->private ^ FUTEX_PRIVATE_FLAG);
20  
21        /* Disable asynchronous cancellation.  */
This page took 0.027396 seconds and 3 git commands to generate.