Re: [HACKERS] Current sources?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Current sources?
Дата
Msg-id 199806160753.DAA03007@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Current sources?  (t-ishii@sra.co.jp)
Ответы Re: [HACKERS] Current sources?  (dg@illustra.com (David Gould))
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] removal of braces
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] Current sources?