HomeFreeBSD

powerpc/atomic: Fix atomic_cmpset_rel()

Description

powerpc/atomic: Fix atomic_cmpset_rel()

Need a release barrier, not an acquire barrier, else bad things happen.

(cherry picked from commit 9551397f51a7041dd0060bae1433d0e802373e35)

Details

Provenance
jhibbitsAuthored on Oct 15 2019, 3:37 AM
kevansCommitted on Oct 7 2021, 3:27 AM
Parents
rG168a6eee3a2a: powerpc: Implement atomic_(f)cmpset_ for short and char
Branches
Unknown
Tags
Unknown