HomeFreeBSD

Correctly implemenet atomic_swap_long for mips64.

Description

Correctly implemenet atomic_swap_long for mips64.

MIPS64 has 64-bit longs, so use uint64_t for it, otherwise uint32_t.
sizeof(long) == sizeof(ptr) for all platforms, so define
atomic_swap_ptr in terms of atomic_swap_long.

Submitted by: hps@

Details

Provenance
impAuthored on
Parents
rS342021: Update the approvers file to share custody of releng/12.0 between
Branches
Unknown
Tags
Unknown