HomeFreeBSD

MFC r342022 (by imp):

Description

MFC r342022 (by imp):

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
dimAuthored on
Parents
rS360299: MFC r360068:
Branches
Unknown
Tags
Unknown