HomeFreeBSD

if_epair: build fix

Description

if_epair: build fix

66acf7685b failed to build on riscv (and mips). This is because the
atomic_testandset_int() (and friends) functions do not exist there.
Happily those platforms do have the long variant, so switch to that.

PR: 262571
MFC after: 3 days
Approved by: re (gjb)

(cherry picked from commit 0bf7acd6b7047537a38e2de391a461e4e8956630)

Details

Provenance
kpAuthored on Mar 17 2022, 2:35 AM
Parents
rGfa67c45842bb: virtio_random(8): MFC: avoid deadlock at shutdown time (regression fix)
Branches
Unknown
Tags
Unknown