From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add ARM64 (aarch64) support to s_lock.h. |
Date: | 2013-06-04 19:42:32 |
Message-ID: | E1Ujx7o-0000wv-EJ@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add ARM64 (aarch64) support to s_lock.h.
Use the same gcc atomic functions as we do on newer ARM chips.
(Basically this is a copy and paste of the __arm__ code block,
but omitting the SWPB option since that definitely won't work.)
Back-patch to 9.2. The patch would work further back, but we'd also
need to update config.guess/config.sub in older branches to make them
build out-of-the-box, and there hasn't been demand for it.
Mark Salter
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/612ecf311bf253cdb0c54252854c5298aa668203
Modified Files
--------------
src/include/storage/s_lock.h | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-06-04 21:23:06 | pgsql: Provide better message when CREATE EXTENSION can't find a target |
Previous Message | Tom Lane | 2013-06-04 18:59:25 | pgsql: Fix memory leak in LogStandbySnapshot(). |