summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-07-05 23:18:48 +0000
committeralc <alc@FreeBSD.org>2004-07-05 23:18:48 +0000
commita97eb53e03b26d26dde1a0848d913f031e4490ce (patch)
treef35e10a74e42a4909f25f7ce21217adb4b375b87 /sys/ia64
parent5f3462eb0c959fbea2488300100b35c54ce33e34 (diff)
downloadFreeBSD-src-a97eb53e03b26d26dde1a0848d913f031e4490ce.zip
FreeBSD-src-a97eb53e03b26d26dde1a0848d913f031e4490ce.tar.gz
- Correct pmap_extract()'s return type. It should be vm_paddr_t, not
vm_offset_t. - Convert pmap_extract() to the ANSI style of declaration.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/pmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 741da94..01b6892 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -984,10 +984,8 @@ pmap_insert_entry(pmap_t pmap, vm_offset_t va, vm_page_t m)
* Extract the physical page address associated
* with the given map/virtual_address pair.
*/
-vm_offset_t
-pmap_extract(pmap, va)
- register pmap_t pmap;
- vm_offset_t va;
+vm_paddr_t
+pmap_extract(pmap_t pmap, vm_offset_t va)
{
struct ia64_lpte *pte;
pmap_t oldpmap;
OpenPOWER on IntegriCloud