Re: [HACKERS] Current sources? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Current sources?
Date
Msg-id 199806160753.DAA03007@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Current sources?  (t-ishii@sra.co.jp)
Responses Re: [HACKERS] Current sources?  (dg@illustra.com (David Gould))
List 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.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] removal of braces
Next
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] Current sources?