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

(cherry picked from commit 0bf7acd6b7047537a38e2de391a461e4e8956630)

Details

Provenance
kpAuthored on Mar 17 2022, 2:35 AM
Parents
rGfb3644ab2afe: if_epair: fix race condition on multi-core systems
Branches
Unknown
Tags
Unknown
Reverted By
rG56dc95b249dc: Revert "if_epair: rework"