Re: [HACKERS] Current sources?

David Gould <dg@illustra.com>

From: dg@illustra.com (David Gould)
To: maillist@candle.pha.pa.us (Bruce Momjian)
Cc: t-ishii@sra.co.jp, tih+mail@Hamartun.Priv.NO, scrappy@hub.org, pgsql-hackers@postgreSQL.org
Date: 1998-06-16T08:20:36Z
Lists: pgsql-hackers
> > >> PPC/Linux has been broken too.
> > >
> > >Please let me know what the problem was, even if it was just the 'global tas'
> > >thing. I am trying to make sure this works on all platforms. Thanks.
> > 
> > Here are patches for s_lock.c (against May23 snapshot).
> > ----------------------------------------------------------
> > *** s_lock.c.orig	Mon May 25 18:08:20 1998
> > --- s_lock.c	Mon May 25 18:08:57 1998
> > ***************
> > *** 151,161 ****
> >   
> >   #if defined(PPC)
> >   
> > ! static int
> > ! tas_dummy()
> >   {
> >   	__asm__("				\n\
> > - tas:						\n\
> >   			lwarx	5,0,3	\n\
> >   			cmpwi	5,0		\n\
> >   			bne		fail	\n\
> > --- 151,160 ----
> >   
> >   #if defined(PPC)
> >   
> > ! int
> > ! tas(slock_t *lock)
> >   {
> >   	__asm__("				\n\
> >   			lwarx	5,0,3	\n\
> >   			cmpwi	5,0		\n\
> >   			bne		fail	\n\
> 
> This patch appears to have been applied already.
> 
> -- 

Yes. I picked up all the S_LOCK related patches and messages from the
mailinglist and folded them into the big S_LOCK patch that just got commited.
So, unless I have messed up, or someone comes up with something new, no
other S_LOCK patches should be applied.

Thanks

-dg

David Gould           dg@illustra.com            510.628.3783 or 510.305.9468
Informix Software                      300 Lakeside Drive   Oakland, CA 94612
 - A child of five could understand this!  Fetch me a child of five.