Module Name: src Committed By: matt Date: Tue Mar 4 06:14:53 UTC 2014
Modified Files: src/sys/uvm/pmap: vmpagemd.h Log Message: use _KERNEL_OPT around #include To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/uvm/pmap/vmpagemd.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/pmap/vmpagemd.h diff -u src/sys/uvm/pmap/vmpagemd.h:1.1 src/sys/uvm/pmap/vmpagemd.h:1.2 --- src/sys/uvm/pmap/vmpagemd.h:1.1 Wed Oct 3 00:51:47 2012 +++ src/sys/uvm/pmap/vmpagemd.h Tue Mar 4 06:14:53 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: vmpagemd.h,v 1.1 2012/10/03 00:51:47 christos Exp $ */ +/* $NetBSD: vmpagemd.h,v 1.2 2014/03/04 06:14:53 matt Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -46,8 +46,10 @@ #error this file should not be included by loadable kernel modules #endif +#ifdef _KERNEL_OPT #include "opt_modular.h" #include "opt_multiprocessor.h" +#endif #include <sys/mutex.h>