diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-29 01:17:05 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-29 01:17:05 +0000 |
commit | a2ef1e41e5c3702655563e182063f533e475a5f0 (patch) | |
tree | f0e204243aabcc0aa9e736877a954f46faa920f5 /sys/arch/amiga | |
parent | 16bbec4a622d4844ff1f22485ec3e05d680e0ba3 (diff) |
Slight KNF
Diffstat (limited to 'sys/arch/amiga')
-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; |