HomeFreeBSD

LinuxKPI: Add more #ifdef VM_MEMATTR_WRITE_COMBINING guards

Description

LinuxKPI: Add more #ifdef VM_MEMATTR_WRITE_COMBINING guards

One of the three uses is already guarded; this guards the remaining ones
to support architectures like riscv that do not provide write-combining,
and is needed to build drm-kmod on riscv.

Reviewed by: hselasky, manu
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31999

Details

Provenance
jrtc27Authored on Oct 3 2021, 6:34 PM
Reviewer
hselasky
Differential Revision
D31999: LinuxKPI: Add more #ifdef VM_MEMATTR_WRITE_COMBINING guards
Parents
rG7047568821a9: libgcc_s: Export 64-bit int to 128-bit float functions
Branches
Unknown
Tags
Unknown