Re: [PATCH] Porting small OpenBSD changes.

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To:
Cc: David CARLIER <devnexen@gmail.com>, pgsql-hackers@postgresql.org
Date: 2017-11-20T22:36:15Z
Lists: pgsql-hackers
I wrote:
> I still dare to doubt whether you've tested this, because AFAICS
> the operand numbering is wrong.  The "r"(lock) operand is number 3
> given these operand declarations, not number 2.

Oh, my apologies, scratch that.  Evidently I put in the "+m"(*lock)
operand and confused myself about what was what.

I still think the form I proposed is better style though.

			regards, tom lane


Commits

  1. Add support for Motorola 88K to s_lock.h.

  2. Use out-of-line M68K spinlock code for OpenBSD as well as NetBSD.