summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>1999-10-09 20:40:04 +0000
committerBob Beck <beck@cvs.openbsd.org>1999-10-09 20:40:04 +0000
commitbd381fa1226936f933bcc8fe7b4e8b8250254b4a (patch)
tree77f3df9461f68729fd73a155ca69d0414e7e0ac9
parent9949e589fd670b632382d4258ad41acdee66d0fa (diff)
give pmap_enter the right number of args.
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index 9c3bec98e5f..f4b066ce4e1 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.13 1999/09/03 18:01:15 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.14 1999/10/09 20:40:03 beck Exp $ */
/* $NetBSD: vm_machdep.c,v 1.21 1996/09/16 18:00:31 scottr Exp $ */
/*
@@ -397,7 +397,8 @@ vmapbuf(bp, sz)
if (pa == 0)
panic("vmapbuf: null page frame");
pmap_enter(vm_map_pmap(phys_map), kva, trunc_page(pa),
- VM_PROT_READ|VM_PROT_WRITE, TRUE);
+ VM_PROT_READ|VM_PROT_WRITE, TRUE,
+ VM_PROT_READ|VM_PROT_WRITE);
addr += PAGE_SIZE;
kva += PAGE_SIZE;
}