summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2012-03-22 15:14:10 +0000
committerjchandra <jchandra@FreeBSD.org>2012-03-22 15:14:10 +0000
commit5cbc1e69ab9389157f33be6774f87a2edb718d28 (patch)
treee45a7bb7b1926e3d1d6131c899728640bdc4e721 /sys/mips
parent625402758bbbfc93f3af7661c735780ad2f94cd5 (diff)
downloadFreeBSD-src-5cbc1e69ab9389157f33be6774f87a2edb718d28.zip
FreeBSD-src-5cbc1e69ab9389157f33be6774f87a2edb718d28.tar.gz
Fix return type of mips pmap_kextract()
The return type should be vm_paddr_t, not vm_offset_t.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index fc99035..5b3888e 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -3209,7 +3209,7 @@ pmap_emulate_modified(pmap_t pmap, vm_offset_t va)
* Extract the physical page address associated
* virtual address.
*/
- /* PMAP_INLINE */ vm_offset_t
+vm_paddr_t
pmap_kextract(vm_offset_t va)
{
int mapped;
OpenPOWER on IntegriCloud