aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm.h')
-rw-r--r--sys/vm/vm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vm/vm.h b/sys/vm/vm.h
index 38f04aced890..5915b29972f7 100644
--- a/sys/vm/vm.h
+++ b/sys/vm/vm.h
@@ -95,6 +95,10 @@ typedef struct vm_map *vm_map_t;
struct vm_object;
typedef struct vm_object *vm_object_t;
+#ifdef _KERNEL
+extern struct mtx vm_mtx;
+#endif
+
#ifndef _KERNEL
/*
* This is defined in <sys/types.h> for the kernel so that non-vm kernel