summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-02-05 03:36:34 +0000
committerimp <imp@FreeBSD.org>2011-02-05 03:36:34 +0000
commit84d5c434027946702f75f86af1f298b46d4451bf (patch)
tree179fae37e0845251eb26c5d5f10ab94b2e01de38 /sys
parente6672e4eca0cb9a8b95bf8a5ee80a4011543297f (diff)
downloadFreeBSD-src-84d5c434027946702f75f86af1f298b46d4451bf.zip
FreeBSD-src-84d5c434027946702f75f86af1f298b46d4451bf.tar.gz
phys_addr is a PA not a VA so declare it as a vm_paddr_t not a vm_offset_t.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/include/pmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/include/pmap.h b/sys/arm/include/pmap.h
index 1a26d11..2a55075 100644
--- a/sys/arm/include/pmap.h
+++ b/sys/arm/include/pmap.h
@@ -204,7 +204,7 @@ vtopte(vm_offset_t va)
return (ptep);
}
-extern vm_offset_t phys_avail[];
+extern vm_paddr_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;
OpenPOWER on IntegriCloud