s_lock.h cleanup

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: s_lock.h cleanup
Date: 2001-01-19 02:58:34
Message-ID: 200101190258.VAA05093@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

In looking at the VAX ASM problem, I realized that the ASM in s_lock.h
is all formatted differently, making it even more confusing. I have
applied the following patch to s_lock.h to try and clean it up.

The new standard format is:

/*
* Standard __asm__ format:
*
* __asm__(
* "command;"
* "command;"
* "command;"
* : "=r"(_res) return value, in register
* : "r"(lock) argument, 'lock pointer', in register
* : "r0"); inline code uses this register
*/

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 14.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-01-19 03:17:49 Re: charset.htm
Previous Message Bruce Momjian 2001-01-19 02:53:37 Re: 7.0.3 reproduceable serious select error

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2001-01-19 03:49:29 Re: s_lock.h cleanup
Previous Message Robert B. Easter 2001-01-19 01:38:26 Re: docs: syntax.sgml patch