summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-10-10 18:29:23 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-10-10 18:29:23 +0000
commit8cabbd2d24f37ee2c562cd975215bb9942591b53 (patch)
tree95f9230526c8437fcffac802a90ab79b8c799431
parentd627f5aa530db5562b66afc71ebfc1a6ab3ef19a (diff)
do this the right way
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index f4b066ce4e1..82e722ca7c5 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.14 1999/10/09 20:40:03 beck Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.15 1999/10/10 18:29:22 art Exp $ */
/* $NetBSD: vm_machdep.c,v 1.21 1996/09/16 18:00:31 scottr Exp $ */
/*
@@ -397,8 +397,7 @@ 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);
+ VM_PROT_READ|VM_PROT_WRITE, TRUE, 0);
addr += PAGE_SIZE;
kva += PAGE_SIZE;
}