[PATCH] PPC64 Linuxthread pspinlock uses 64-bits when it should not.
Steve Munroe
sjmunroe@us.ibm.com
Fri Feb 20 21:45:00 GMT 2004
Thanks to Marcuc Meissner for finding this one.
The powerpc64 implemention of spinlock uses __compare_and_swap from
sysdeps/powerpc/powerpc64/pt-machine (which used 64-bit load and
reserve/store conditional) but pthread_spinlock_t is defined as int.
The following patch fixes this.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc64-pspinlock-20040218.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040220/a092d2d1/attachment.txt>
More information about the Libc-alpha
mailing list