summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 13:57:19 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 13:57:19 +0000
commitf17e9fc7db84dac3f5a03fc347ebf3dfb46c1bcc (patch)
treee3561ad347ac9a0d4f7515d9e298346d54c07da4 /sys/arch/mvme88k
parent4208f783ff04f597c2e7f87e07cadbf087dcf5fa (diff)
pmap_kenter_pgs(.., 1) is pointless. pmap_kenter_pa instead.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index 1ae80a69a31..0aef05dcc80 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.66 2001/11/28 13:47:38 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.67 2001/11/28 13:57:18 art Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -627,7 +627,8 @@ cpu_startup()
if (pg == NULL)
panic("cpu_startup: not enough memory for "
"buffer cache");
- pmap_kenter_pgs(curbuf, &pg, 1);
+ pmap_kenter_pa(va, VM_PAGE_TO_PHYS(pg),
+ VM_PROT_READ|VM_PROT_WRITE);
curbuf += PAGE_SIZE;
curbufsize -= PAGE_SIZE;
}