diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amiga/amiga/vm_machdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amiga/amiga/vm_machdep.c b/sys/arch/amiga/amiga/vm_machdep.c index 405b382752c..6f09b633706 100644 --- a/sys/arch/amiga/amiga/vm_machdep.c +++ b/sys/arch/amiga/amiga/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.4 1996/05/02 06:43:25 niklas Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.5 1997/05/29 01:17:04 niklas Exp $ */ /* $NetBSD: vm_machdep.c,v 1.29 1996/04/25 05:57:38 veego Exp $ */ /* @@ -172,10 +172,10 @@ pagemove(from, to, size) if (pmap_extract(pmap_kernel(), (vm_offset_t)to) != 0) panic("pagemove 3"); #endif - pmap_remove(pmap_kernel(), - (vm_offset_t)from, (vm_offset_t)from + PAGE_SIZE); - pmap_enter(pmap_kernel(), - (vm_offset_t)to, pa, VM_PROT_READ|VM_PROT_WRITE, 1); + pmap_remove(pmap_kernel(), (vm_offset_t)from, + (vm_offset_t)from + PAGE_SIZE); + pmap_enter(pmap_kernel(), (vm_offset_t)to, pa, + VM_PROT_READ|VM_PROT_WRITE, 1); from += PAGE_SIZE; to += PAGE_SIZE; size -= PAGE_SIZE; |