Re: [HACKERS] Current sources?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: dg(at)illustra(dot)com, tih+mail(at)Hamartun(dot)Priv(dot)NO, scrappy(at)hub(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Current sources?
Date: 1998-06-16 07:53:39
Message-ID: 199806160753.DAA03007@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)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)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Gould 1998-06-16 08:20:36 Re: [HACKERS] Current sources?
Previous Message Bruce Momjian 1998-06-16 07:23:51 Re: [HACKERS] removal of braces