Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm include decls for _MODULE



details:   https://anonhg.NetBSD.org/src/rev/695600e72782
branches:  trunk
changeset: 339612:695600e72782
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 30 10:25:49 2015 +0000

description:
include decls for _MODULE

diffstat:

 sys/uvm/uvm_swap.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r fbb4b1f50ec9 -r 695600e72782 sys/uvm/uvm_swap.h
--- a/sys/uvm/uvm_swap.h        Thu Jul 30 09:55:57 2015 +0000
+++ b/sys/uvm/uvm_swap.h        Thu Jul 30 10:25:49 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_swap.h,v 1.21 2015/07/30 09:55:57 maxv Exp $       */
+/*     $NetBSD: uvm_swap.h,v 1.22 2015/07/30 10:25:49 christos Exp $   */
 
 /*
  * Copyright (c) 1997 Matthew R. Green
@@ -33,7 +33,7 @@
 
 #define        SWSLOT_BAD      (-1)
 
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_MODULE)
 #if defined(_KERNEL_OPT)
 #include "opt_vmswap.h"
 #endif
@@ -58,6 +58,6 @@
 #endif /* defined(VMSWAP) */
 void   uvm_swap_shutdown(struct lwp *);
 
-#endif /* _KERNEL */
+#endif /* _KERNEL || _MODULE */
 
 #endif /* _UVM_UVM_SWAP_H_ */



Home | Main Index | Thread Index | Old Index