summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-06 16:36:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-06-06 16:36:10 +0000
commitdee15ecc18e7172a12565a695dae8505ca84b69c (patch)
treec9f40d8c19531315cb167a34418c3a09713e5a34 /sys/arch/hppa
parent10032bef0c0fb2411f25ec898a779e9ed067e363 (diff)
use shorter uvm_prot_rw
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/vm_machdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/vm_machdep.c b/sys/arch/hppa/hppa/vm_machdep.c
index f24a720c6c9..1a51d9a9a54 100644
--- a/sys/arch/hppa/hppa/vm_machdep.c
+++ b/sys/arch/hppa/hppa/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.37 2002/04/01 16:05:10 mickey Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.38 2002/06/06 16:36:09 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -107,8 +107,7 @@ pagemove(from, to, size)
while (size > 0) {
pmap_extract(pmap_kernel(), (vaddr_t)from, &pa);
pmap_kremove((vaddr_t)from, PAGE_SIZE);
- pmap_kenter_pa((vaddr_t)to, pa,
- VM_PROT_READ|VM_PROT_WRITE);
+ pmap_kenter_pa((vaddr_t)to, pa, UVM_PROT_RW);
from += PAGE_SIZE;
to += PAGE_SIZE;
size -= PAGE_SIZE;