Re: lock support for aarch64

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Salter <msalter(at)redhat(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lock support for aarch64
Date: 2013-05-13 15:14:05
Message-ID: 4237.1368458045@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mark Salter <msalter(at)redhat(dot)com> writes:
> I used the following patch to add lock support aarch64. It is just a
> copy of the arm support based on gcc builtins. Postgresql built with
> this patch passes the various tests.

Couldn't we just do

-#if defined(__arm__) || defined(__arm)
+#if defined(__arm__) || defined(__arm) || defined(__aarch64__)

in the existing ARM code block?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-05-13 15:26:46 Re: lock support for aarch64
Previous Message Andres Freund 2013-05-13 15:08:02 Re: corrupt pages detected by enabling checksums