]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
if_epair: build fix
authorKristof Provost <kp@FreeBSD.org>
Thu, 17 Mar 2022 02:35:13 +0000 (03:35 +0100)
committerKristof Provost <kp@FreeBSD.org>
Thu, 17 Mar 2022 05:43:47 +0000 (06:43 +0100)
commit0bf7acd6b7047537a38e2de391a461e4e8956630
tree1cb9036a237071b9b74b29514fbcb3e0b7773674
parent8ea5af2b77f2b43c250cacb257f42c0a54d644c4
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
sys/net/if_epair.c