summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
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/amiga
parent4208f783ff04f597c2e7f87e07cadbf087dcf5fa (diff)
pmap_kenter_pgs(.., 1) is pointless. pmap_kenter_pa instead.
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/machdep.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c
index f72b52e8698..6d725642d17 100644
--- a/sys/arch/amiga/amiga/machdep.c
+++ b/sys/arch/amiga/amiga/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.59 2001/11/28 13:47:37 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.60 2001/11/28 13:57:18 art Exp $ */
/* $NetBSD: machdep.c,v 1.95 1997/08/27 18:31:17 is Exp $ */
/*
@@ -446,7 +446,9 @@ again:
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;
}