summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-05-30 21:24:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-05-30 21:24:29 +0000
commitc7a8aff97ffaa83f1bb16c0bfebf96ff4b4c284a (patch)
tree239e73d95a25841b6a0755eabf879124d22b88b5 /sys/arch/vax
parent12f7b6fed8a72351f39ef29104895aca5b61e3d0 (diff)
Map buffers with pmap_kenter_pa() instead of pmap_enter().
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/machdep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c
index 0422135ea58..e0b3166b406 100644
--- a/sys/arch/vax/vax/machdep.c
+++ b/sys/arch/vax/vax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.77 2006/03/07 20:20:30 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.78 2006/05/30 21:24:28 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */
/*
@@ -244,9 +244,8 @@ cpu_startup()
if (pg == NULL)
panic("cpu_startup: "
"not enough RAM for buffer cache");
- pmap_enter(kernel_map->pmap, curbuf,
- VM_PAGE_TO_PHYS(pg), VM_PROT_READ|VM_PROT_WRITE,
- VM_PROT_READ|VM_PROT_WRITE|PMAP_WIRED);
+ pmap_kenter_pa(curbuf, VM_PAGE_TO_PHYS(pg),
+ VM_PROT_READ | VM_PROT_WRITE);
curbuf += PAGE_SIZE;
curbufsize -= PAGE_SIZE;
}