summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/pmap.c2
-rw-r--r--sys/i386/include/pmap.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 334890c..e3fe15a 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -2144,7 +2144,7 @@ retry:
* to be used for panic dumps.
*/
void *
-pmap_kenter_temporary(vm_offset_t pa, int i)
+pmap_kenter_temporary(vm_paddr_t pa, int i)
{
vm_offset_t va;
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index eebe26d..7a99d9d 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -330,7 +330,7 @@ extern vm_offset_t virtual_end;
void pmap_bootstrap(vm_paddr_t, vm_paddr_t);
void pmap_kenter(vm_offset_t va, vm_paddr_t pa);
-void *pmap_kenter_temporary(vm_offset_t pa, int i);
+void *pmap_kenter_temporary(vm_paddr_t pa, int i);
void pmap_kremove(vm_offset_t);
void *pmap_mapdev(vm_paddr_t, vm_size_t);
void pmap_unmapdev(vm_offset_t, vm_size_t);
OpenPOWER on IntegriCloud