This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: testandset on powerpc
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: testandset on powerpc
- From: Andreas Jaeger <aj at suse dot de>
- Date: 18 Jul 2000 18:49:56 +0200
- Cc: Geoff Keating <geoffk at cygnus dot com>,libc-alpha at sourceware dot cygnus dot com
- References: <Geoff Keating's message of "Tue, 18 Jul 2000 08:52:27 -0700"><ho66q3vbfb.fsf@maclaurin.suse.de><200007181528.IAA12286@localhost.cygnus.com><hok8ejtpgy.fsf@maclaurin.suse.de><200007181552.IAA12307@localhost.cygnus.com><4.3.2.7.2.20000718181231.00d2f310@mail.lauterbach.com>
>>>>> Franz Sirl writes:
Franz> I have done a patch which defines IMPLEMENT_TAS_AS_CAS in powerpc/pt-machine.h and
Franz> define testandset(p) to !__compare_and_swap(p,0,1) in spinlock.h then. I haven't sent it
That sounds fine. Please send the patch for review.
Franz> yet, because I had strange problems with rpcgen (maybe related to string handling?)
Franz> yesterday and so I couldn't test it yet.
I also noticed problems with rpcgen, the generated files (like
sunrpc/rpcsvc/key_prot.h) are broken - they contain a dot instead of
an underscore:
#ifndef _KEY_PROT.T_H_RPCGEN
#define _KEY_PROT.T_H_RPCGEN
No time to investigate yet (this seems to be ppc specific),
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de