diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-17 21:29:39 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-17 21:29:39 +0000 |
commit | f5f492c7f1b2571ffcaee3992c1baecc220bb68a (patch) | |
tree | 162bd0cb1c6a55a069ae28e6477975452689decc /sys/arch | |
parent | 32e2a57422134a424c96f93241fa5631b10ec328 (diff) |
In vmapbuf(), pass VM_PROT_READ | VM_PROT_WRITE as flags hints too.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mips64/mips64/vm_machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/vm_machdep.c b/sys/arch/mips64/mips64/vm_machdep.c index f24eb7e3d90..614723dc35f 100644 --- a/sys/arch/mips64/mips64/vm_machdep.c +++ b/sys/arch/mips64/mips64/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.4 2004/09/17 19:28:05 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.5 2004/09/17 21:29:38 miod Exp $ */ /* * Copyright (c) 1988 University of Utah. * Copyright (c) 1992, 1993 @@ -266,7 +266,8 @@ vmapbuf(bp, len) pmap, uva); pmap_enter(vm_map_pmap(phys_map), kva, trunc_page(pa), - VM_PROT_READ|VM_PROT_WRITE, PMAP_WIRED); + VM_PROT_READ | VM_PROT_WRITE, + VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED); uva += PAGE_SIZE; kva += PAGE_SIZE; sz -= PAGE_SIZE; |