summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_param.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-04 23:22:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-04 23:22:43 +0000
commit2d6ebc6b1044ef771b2b25c09c2abffe0c0a0d3d (patch)
treef85c4269fcfa3a0ec1575186dfcbcbbb1ebaf8d7 /sys/uvm/uvm_param.h
parentf1bec1965343db9a80a80e7ed55ee2fe5dd36253 (diff)
Yet another sync to NetBSD uvm.
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed.
Diffstat (limited to 'sys/uvm/uvm_param.h')
-rw-r--r--sys/uvm/uvm_param.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/uvm/uvm_param.h b/sys/uvm/uvm_param.h
index c183c97f500..5cc1be262cc 100644
--- a/sys/uvm/uvm_param.h
+++ b/sys/uvm/uvm_param.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_param.h,v 1.5 2001/11/28 19:28:15 art Exp $ */
-/* $NetBSD: uvm_param.h,v 1.11 2001/07/14 06:36:03 matt Exp $ */
+/* $OpenBSD: uvm_param.h,v 1.6 2001/12/04 23:22:42 art Exp $ */
+/* $NetBSD: uvm_param.h,v 1.12 2001/08/05 03:33:16 matt Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -72,7 +72,9 @@
#ifndef _VM_PARAM_
#define _VM_PARAM_
+#ifdef _KERNEL
#include <machine/vmparam.h>
+#endif
/*
* This belongs in types.h, but breaks too many existing programs.