Module Name: src Committed By: christos Date: Thu Jul 30 10:25:49 UTC 2015
Modified Files: src/sys/uvm: uvm_swap.h Log Message: include decls for _MODULE To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/uvm/uvm_swap.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_swap.h diff -u src/sys/uvm/uvm_swap.h:1.21 src/sys/uvm/uvm_swap.h:1.22 --- src/sys/uvm/uvm_swap.h:1.21 Thu Jul 30 05:55:57 2015 +++ src/sys/uvm/uvm_swap.h Thu Jul 30 06:25:49 2015 @@ -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 @@ void uvm_swap_stats(int, struct swapent #endif /* defined(VMSWAP) */ void uvm_swap_shutdown(struct lwp *); -#endif /* _KERNEL */ +#endif /* _KERNEL || _MODULE */ #endif /* _UVM_UVM_SWAP_H_ */