diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2007-05-13 03:46:00 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2007-05-13 03:46:00 +0000 |
commit | cbd9291fde3dfb7a14a5d1c2f2df0d274ce95734 (patch) | |
tree | 015141f2a2a856ad9b5bc5ad7443661fa984b6c5 /sys | |
parent | 310bb031120730b7813ff790bab643c06d059ddc (diff) |
Ansi prototypes, not K&R. no binary difference.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 3ff0e4cab00..fa803856560 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.99 2007/05/03 18:40:21 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.100 2007/05/13 03:45:59 drahn Exp $ */ /* * Copyright (c) 2001, 2002 Dale Rahn. @@ -457,12 +457,7 @@ pmap_attr_save(paddr_t pa, u_int32_t bits) } int -pmap_enter(pm, va, pa, prot, flags) - pmap_t pm; - vaddr_t va; - paddr_t pa; - vm_prot_t prot; - int flags; +pmap_enter(pmap_t pm, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags) { struct pte_desc *pted; struct pted_pv_head *pvh; @@ -750,7 +745,6 @@ _pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot, int flags, int cache) } splx(s); - } void @@ -1756,10 +1750,7 @@ pmap_popusr(u_int32_t sr) } int -copyin(udaddr, kaddr, len) - const void *udaddr; - void *kaddr; - size_t len; +copyin(const void *udaddr, void *kaddr, size_t len) { void *p; size_t l; @@ -1789,10 +1780,7 @@ copyin(udaddr, kaddr, len) } int -copyout(kaddr, udaddr, len) - const void *kaddr; - void *udaddr; - size_t len; +copyout(const void *kaddr, void *udaddr, size_t len) { void *p; size_t l; |