Protect "struct uvm" with _KERNEL.

This commit is contained in:
thorpej 2002-09-15 01:01:32 +00:00
parent 672853f217
commit 3479cf6ba9
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm.h,v 1.31 2001/09/15 20:36:44 chs Exp $ */
/* $NetBSD: uvm.h,v 1.32 2002/09/15 01:01:32 thorpej Exp $ */
/*
*
@ -64,6 +64,8 @@
#include <uvm/uvm_pdaemon.h>
#include <uvm/uvm_swap.h>
#ifdef _KERNEL
/*
* pull in VM_NFREELIST
*/
@ -122,6 +124,8 @@ struct uvm {
struct uvm_object *kernel_object;
};
#endif /* _KERNEL */
/*
* vm_map_entry etype bits:
*/