[PATCH] tst-cond16 fix - NPTL part
Thorsten Kukuk
kukuk at suse.de
Fri May 21 06:41:39 UTC 2004
On Thu, May 20, Jakub Jelinek wrote:
> Hi!
>
> This is the NPTL part of the tst-cond16 fix.
For PPC (and some other architectures) I need the attached patch
for compiling. But while on ix86 the patch alone (without fixed
kernel) solves the problem, it does not do so on PPC.
Thorsten
--- nptl/sysdeps/pthread/pthread_cond_broadcast.c
+++ nptl/sysdeps/pthread/pthread_cond_broadcast.c 2004/05/20 20:50:39
@@ -63,7 +63,7 @@
{
/* The requeue functionality is not available. */
wake_all:
- lll_futex_wake (futex, INT_MAX);
+ lll_futex_wake (&cond->__data.__futex, INT_MAX);
}
/* That's all. */
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk at suse.de
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
More information about the Phil-list
mailing list