]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add atomic_testandset_acq_* on arm64
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 20 Dec 2021 13:49:59 +0000 (13:49 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Tue, 21 Dec 2021 13:06:27 +0000 (13:06 +0000)
commit02c16e2174baa756997600a8139f19f218da0a8f
treea247d380e1b375d51f9d43c0564e1d3b8ae5a069
parent69cfbd669e34aaaa49f4caed49bd7df93d4115b2
Add atomic_testandset_acq_* on arm64

We only need to include sys/_atomic_subword.h on arm64 to provide
atomic_testandset_acq_long. Add an implementation in the arm64 atomic.h
based on the existing atomic_testandset macro.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33587
sys/arm64/include/atomic.h