summaryrefslogtreecommitdiff
path: root/vm/vm_object.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-07 20:59:07 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-07 20:59:07 +0200
commit888853dc07f1cdb9701f3612dea7828cc96b84cc (patch)
treeb255b28e240c2ccc9c43c10b8429766d8548fa53 /vm/vm_object.c
parent4febbe1c657c026a33bdb16b51a0f317217b8d5a (diff)
Use accessors when referring to global kernel objects
The kernel_map/kernel_pmap/kernel_task/etc... names were reused as they were in the Mach source code. They've been a (mostly harmless) long-standing violation of the coding rules.
Diffstat (limited to 'vm/vm_object.c')
-rw-r--r--vm/vm_object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm_object.c b/vm/vm_object.c
index 679f3537..707008ec 100644
--- a/vm/vm_object.c
+++ b/vm/vm_object.c
@@ -31,6 +31,8 @@
#include <vm/vm_page.h>
#include <machine/page.h>
+struct vm_object vm_object_kernel_object;
+
static int __init
vm_object_setup(void)
{