summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-28 17:57:12 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-28 17:57:12 +0000
commit3fd91d9dae92a0666a963dbc0a83105ce92df276 (patch)
tree5fe87d25de786dadf43e9116f3e833fba7a97e3d /sys/uvm/uvm.h
parent5f53fe91d0fb705a04a73c507e8fd68083cf7d29 (diff)
Reduce uvm include madness. Use <uvm/uvm_extern.h> instead of
<uvm/uvm.h> if possible and remove double inclusions. ok beck@, mlarkin@, deraadt@
Diffstat (limited to 'sys/uvm/uvm.h')
-rw-r--r--sys/uvm/uvm.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h
index f68d5daa498..f5dde851952 100644
--- a/sys/uvm/uvm.h
+++ b/sys/uvm/uvm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm.h,v 1.52 2013/11/09 06:52:15 guenther Exp $ */
+/* $OpenBSD: uvm.h,v 1.53 2014/03/28 17:57:11 mpi Exp $ */
/* $NetBSD: uvm.h,v 1.24 2000/11/27 08:40:02 chs Exp $ */
/*
@@ -39,34 +39,17 @@
#define _UVM_UVM_H_
#include <uvm/uvm_extern.h>
-
-/*
- * pull in prototypes
- */
-
#include <uvm/uvm_amap.h>
#include <uvm/uvm_aobj.h>
#include <uvm/uvm_fault.h>
#include <uvm/uvm_glue.h>
#include <uvm/uvm_km.h>
-#include <uvm/uvm_map.h>
-#include <uvm/uvm_object.h>
-#include <uvm/uvm_page.h>
-#include <uvm/uvm_pager.h>
#include <uvm/uvm_swap.h>
#include <uvm/uvm_pmemrange.h>
#ifdef UVM_SWAP_ENCRYPT
#include <uvm/uvm_swap_encrypt.h>
#endif
-#include <machine/vmparam.h>
-
-/* Constraint ranges, set by MD code. */
-extern struct uvm_constraint_range isa_constraint;
-extern struct uvm_constraint_range dma_constraint;
-extern struct uvm_constraint_range no_constraint;
-extern struct uvm_constraint_range *uvm_md_constraints[];
-
/*
* uvm structure (vm global state: collected in one structure for ease
* of reference...)