Re: lock support for aarch64 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: lock support for aarch64
Date
Msg-id 4237.1368458045@sss.pgh.pa.us
Whole thread Raw
In response to lock support for aarch64  (Mark Salter <msalter@redhat.com>)
Responses Re: lock support for aarch64  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
Mark Salter <msalter@redhat.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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: corrupt pages detected by enabling checksums
Next
From: Heikki Linnakangas
Date:
Subject: Re: lock support for aarch64