Move sys/uvm/uvm_physseg.h inclusion to within _KERNEL only.
This commit is contained in:
parent
6d90b98a1f
commit
609524cc7d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm.h,v 1.67 2016/12/22 13:26:24 cherry Exp $ */
|
||||
/* $NetBSD: uvm.h,v 1.68 2017/01/02 20:08:32 cherry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Charles D. Cranor and Washington University.
|
||||
|
@ -57,12 +57,12 @@
|
|||
#include <uvm/uvm_object.h>
|
||||
#include <uvm/uvm_page.h>
|
||||
#include <uvm/uvm_pager.h>
|
||||
#include <uvm/uvm_physseg.h>
|
||||
#include <uvm/uvm_pdaemon.h>
|
||||
#include <uvm/uvm_swap.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#include <uvm/uvm_physseg.h>
|
||||
#include <sys/rndsource.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_physseg.h,v 1.7 2016/12/29 12:58:38 rin Exp $ */
|
||||
/* $NetBSD: uvm_physseg.h,v 1.8 2017/01/02 20:08:32 cherry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2016 The NetBSD Foundation, Inc.
|
||||
|
@ -45,7 +45,6 @@
|
|||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* No APIs are explicitly #included in uvm_physseg.c
|
||||
*/
|
||||
|
@ -144,6 +143,4 @@ void uvm_physseg_set_avail_start(uvm_physseg_t, paddr_t);
|
|||
void uvm_physseg_set_avail_end(uvm_physseg_t, paddr_t);
|
||||
#endif /* UVM_PHYSSEG_LEGACY */
|
||||
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* _UVM_UVM_PHYSSEG_H_ */
|
||||
|
|
Loading…
Reference in New Issue