Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Need <dev/mm.h> f...



details:   https://anonhg.NetBSD.org/src/rev/0ce2de776b66
branches:  trunk
changeset: 836982:0ce2de776b66
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Nov 15 04:55:49 2018 +0000

description:
Need <dev/mm.h> for mm_md_direct_mapped_phys.

It turns out this code always sees __HAVE_MM_MD_DIRECT_MAPPED_PHYS as
disabled on amd64, for reasons that I shall address forthwith, but it
is enabled on aarch64 and so the MKZFS=yes build breaks.

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 29115d870193 -r 0ce2de776b66 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Thu Nov 15 04:55:38 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c    Thu Nov 15 04:55:49 2018 +0000
@@ -80,6 +80,7 @@
 #endif
 
 #ifdef __NetBSD__
+#include <dev/mm.h>
 #include <miscfs/genfs/genfs.h>
 #include <miscfs/genfs/genfs_node.h>
 #include <uvm/uvm_extern.h>



Home | Main Index | Thread Index | Old Index