HomeFreeBSD

Rework the atomic code to reduce the repetition. This merges some of the

Description

Rework the atomic code to reduce the repetition. This merges some of the
atomic functions where they are almost identical, or have acquire/release
semantics.

While here clean these function up. The cbnz instruction doesn't change
the condition flags so drop cc, however they should have memory added to the
clobber list.

Reviewed by: kib
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D4318

Details

Provenance
andrewAuthored on
Reviewer
kib
Differential Revision
D4318: Rework the atomic code to reduce the repetition
Parents
rS291579: In the same way fix the problem described in r291578 for IGMPv3.
Branches
Unknown
Tags
Unknown