]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: Add more #ifdef VM_MEMATTR_WRITE_COMBINING guards
authorJessica Clarke <jrtc27@FreeBSD.org>
Sun, 3 Oct 2021 18:34:40 +0000 (19:34 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sun, 3 Oct 2021 18:34:40 +0000 (19:34 +0100)
commit8167c92f65bc20145467b3b98c842cde57736900
tree22a7bace86612d501db1678dcc74d0cb126965f3
parent7047568821a9019359a8518e1f1481f73d6e5445
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
sys/compat/linuxkpi/common/include/linux/io.h
sys/compat/linuxkpi/common/include/linux/page.h