diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-10-10 18:29:23 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-10-10 18:29:23 +0000 |
commit | 8cabbd2d24f37ee2c562cd975215bb9942591b53 (patch) | |
tree | 95f9230526c8437fcffac802a90ab79b8c799431 | |
parent | d627f5aa530db5562b66afc71ebfc1a6ab3ef19a (diff) |
do this the right way
-rw-r--r-- | sys/arch/mac68k/mac68k/vm_machdep.c | 5 |
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; } |