diff options
author | alc <alc@FreeBSD.org> | 2004-07-05 23:18:48 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-07-05 23:18:48 +0000 |
commit | a97eb53e03b26d26dde1a0848d913f031e4490ce (patch) | |
tree | f35e10a74e42a4909f25f7ce21217adb4b375b87 /sys/alpha | |
parent | 5f3462eb0c959fbea2488300100b35c54ce33e34 (diff) | |
download | FreeBSD-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/alpha')
-rw-r--r-- | sys/alpha/alpha/pmap.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/alpha/alpha/pmap.c b/sys/alpha/alpha/pmap.c index c91d372..5c82399f 100644 --- a/sys/alpha/alpha/pmap.c +++ b/sys/alpha/alpha/pmap.c @@ -742,10 +742,8 @@ pmap_track_modified(vm_offset_t va) * 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) { pt_entry_t* pte = pmap_lev3pte(pmap, va); if (pte) |