This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC atomic.h add compare_exchange_val forms


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Munroe wrote:
> Changes in nptl/pthreadP.h (introduced __do_cancel which uses
> THREAD_ATOMIC_BIT_SET) require atomic_compare_and_exchange_val_acq to be
> explicitely implemented for all architectes. PPC32 and PPC64 did not
> specifically define this form. The attached patch implement
> atomic_compare_and_exchange_val_acq for 32-bit (both PPC32/PPC64) and 64-bit
> (PPC64 only).

I've applied the patch after cleaning it up.  Applied by hand, so what
out for merging errors.

But this makes one thing obvious: the file must be split.  Please send a
patch which creates powerpc32/bits and powerpc64/bits files.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+nFKX2ijCOnn/RHQRAlvPAJ98C86WJz2gyEaOpEFTVfJL/vC41QCfVl8y
wJnRsB8WB6slXVRCMtjba10=
=2tTG
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]