Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm/pmap use _KERNEL_OPT around #include
details: https://anonhg.NetBSD.org/src/rev/58610e43ad6d
branches: trunk
changeset: 327295:58610e43ad6d
user: matt <matt%NetBSD.org@localhost>
date: Tue Mar 04 06:14:53 2014 +0000
description:
use _KERNEL_OPT around #include
diffstat:
sys/uvm/pmap/vmpagemd.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 7e983dd8777c -r 58610e43ad6d sys/uvm/pmap/vmpagemd.h
--- a/sys/uvm/pmap/vmpagemd.h Tue Mar 04 04:03:49 2014 +0000
+++ b/sys/uvm/pmap/vmpagemd.h Tue Mar 04 06:14:53 2014 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index