This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: powerpc libc 2.2
> Cc: Geoff Keating <geoffk@cygnus.com>, libc-alpha@sourceware.cygnus.com
> Reply-To: drepper@cygnus.com (Ulrich Drepper)
> From: Ulrich Drepper <drepper@redhat.com>
> Date: 27 Jun 2000 09:18:30 -0700
>
> Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
>
> > I also needed the appended patch, due to the sudden rebirth
> > of testandset :-).
>
> Geoff?
The correct patch would change the generic code so that it uses
compare_and_swap to do testandset if only compare_and_swap is
available, thus not duplicating code unnecessarily.
--
- Geoffrey Keating <geoffk@cygnus.com>