HomeFreeBSD

Add atomic_testandset_acq_* on arm64

Description

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

(cherry picked from commit 02c16e2174baa756997600a8139f19f218da0a8f)

Details

Provenance
andrewAuthored on Dec 20 2021, 1:49 PM
Reviewer
kib
Differential Revision
D33587: Add atomic_testandset_acq_* on arm64
Parents
rGd41cd6cce75b: Add an loader command on arm64 to sync the cache
Branches
Unknown
Tags
Unknown