]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add ARM64 (aarch64) support to s_lock.h.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Jun 2013 19:42:02 +0000 (15:42 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Jun 2013 19:42:02 +0000 (15:42 -0400)
commit5c7603c318872a42e1665b228f68fdf58714d945
tree4b5da43fc60b86f4281bb417db628c33d0d21584
parentdbc6eb1f4b840d252031419d4bf694316812124f
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
src/include/storage/s_lock.h