Module Name:    src
Committed By:   christos
Date:           Wed Jan  4 23:59:49 UTC 2017

Modified Files:
        src/sys/uvm: uvm_extern.h

Log Message:
don't include uvm_physseg.h for kmem grovellers.


To generate a diff of this commit:
cvs rdiff -u -r1.202 -r1.203 src/sys/uvm/uvm_extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_extern.h
diff -u src/sys/uvm/uvm_extern.h:1.202 src/sys/uvm/uvm_extern.h:1.203
--- src/sys/uvm/uvm_extern.h:1.202	Mon Jan  2 15:22:20 2017
+++ src/sys/uvm/uvm_extern.h	Wed Jan  4 18:59:49 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_extern.h,v 1.202 2017/01/02 20:22:20 cherry Exp $	*/
+/*	$NetBSD: uvm_extern.h,v 1.203 2017/01/04 23:59:49 christos Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -472,7 +472,9 @@ extern bool vm_page_zero_enable;
 #if defined(_KERNEL) || defined(_KMEMUSER)
 #include <uvm/uvm_map.h>
 #include <uvm/uvm_pager.h>
+#endif
 
+#ifdef _KERNEL
 /*
  * Include the uvm_hotplug(9) API unconditionally until
  * uvm_page_physload() et. al. are obsoleted

Reply via email to