summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-26 23:50:22 +0000
committerAriane van der Steldt <ariane@cvs.openbsd.org>2011-04-26 23:50:22 +0000
commit970628326e5e2d15cc1bc9d97f07278a63489e38 (patch)
tree7e66b564303b97642735602db28c07dad4b9b0a2 /sys/arch/vax
parent723f37c08b6a672ccf72cfe6de243be2e6cba620 (diff)
MMU address space holes are at a fixed position (ofcourse).
Therefore set UVM_FLAG_FIXED and enforce this. ok oga@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/pmap.c b/sys/arch/vax/vax/pmap.c
index 6fa7e4f97bc..5a06fbcd7f4 100644
--- a/sys/arch/vax/vax/pmap.c
+++ b/sys/arch/vax/vax/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.50 2008/09/30 20:00:29 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.51 2011/04/26 23:50:21 ariane Exp $ */
/* $NetBSD: pmap.c,v 1.74 1999/11/13 21:32:25 matt Exp $ */
/*
* Copyright (c) 1994, 1998, 1999 Ludd, University of Lule}, Sweden.
@@ -426,7 +426,8 @@ pmap_remove_holes(struct vm_map *map)
(void)uvm_map(map, &shole, ehole - shole, NULL, UVM_UNKNOWN_OFFSET, 0,
UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE,
- UVM_ADV_RANDOM, UVM_FLAG_NOMERGE | UVM_FLAG_HOLE));
+ UVM_ADV_RANDOM,
+ UVM_FLAG_NOMERGE | UVM_FLAG_HOLE | UVM_FLAG_FIXED));
}
void