HomeFreeBSD

riscv: fix csr_swap()

Description

riscv: fix csr_swap()

Fix csr_swap() macro so that we don't overwrite the argument (which is not
even possible when the argument is an immediate value)

Reviewed by: jrtc27

Differential Revision: https://reviews.freebsd.org/D46526

Details

Provenance
brAuthored on Sep 4 2024, 9:04 AM
Reviewer
jrtc27
Differential Revision
D46526: riscv: fix csr_swap()
Parents
rGf76826b892de: ipsec offload: use private taskqueue thread
Branches
Unknown
Tags
Unknown