aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/vm/pmap.h5
-rw-r--r--sys/vm/vm_kern.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 38bde18f8cc3..20a5bd3ce41e 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -89,6 +89,11 @@ typedef struct pmap_statistics *pmap_statistics_t;
struct proc;
struct thread;
+/*
+ * Updates to kernel_vm_end are synchronized by the kernel_map's system mutex.
+ */
+extern vm_offset_t kernel_vm_end;
+
extern int pmap_pagedaemon_waken;
#ifdef __alpha__
diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h
index c347ca35276e..d8d8aac42898 100644
--- a/sys/vm/vm_kern.h
+++ b/sys/vm/vm_kern.h
@@ -75,6 +75,4 @@ extern vm_map_t clean_map;
extern vm_map_t exec_map;
extern u_int vm_kmem_size;
-extern vm_offset_t kernel_vm_end;
-
#endif /* _VM_VM_KERN_H_ */