From e1ed9c825b10dd8f9c4cb08996a61232e056ab78 Mon Sep 17 00:00:00 2001 From: jhibbits Date: Thu, 3 Sep 2015 01:38:15 +0000 Subject: pmap_mapdev_attr() also takes a vm_paddr_t. This was missed in r235936. With recent work for 36-bit paddr, this is now needed. --- sys/powerpc/include/pmap.h | 2 +- sys/powerpc/powerpc/pmap_dispatch.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/powerpc/include/pmap.h b/sys/powerpc/include/pmap.h index 7db25cb..dc8649e 100644 --- a/sys/powerpc/include/pmap.h +++ b/sys/powerpc/include/pmap.h @@ -235,7 +235,7 @@ void pmap_kenter(vm_offset_t va, vm_paddr_t pa); void pmap_kenter_attr(vm_offset_t va, vm_offset_t pa, vm_memattr_t); void pmap_kremove(vm_offset_t); void *pmap_mapdev(vm_paddr_t, vm_size_t); -void *pmap_mapdev_attr(vm_offset_t, vm_size_t, vm_memattr_t); +void *pmap_mapdev_attr(vm_paddr_t, vm_size_t, vm_memattr_t); void pmap_unmapdev(vm_offset_t, vm_size_t); void pmap_page_set_memattr(vm_page_t, vm_memattr_t); void pmap_deactivate(struct thread *); diff --git a/sys/powerpc/powerpc/pmap_dispatch.c b/sys/powerpc/powerpc/pmap_dispatch.c index a071899..4e31a53 100644 --- a/sys/powerpc/powerpc/pmap_dispatch.c +++ b/sys/powerpc/powerpc/pmap_dispatch.c @@ -463,7 +463,7 @@ pmap_mapdev(vm_paddr_t pa, vm_size_t size) } void * -pmap_mapdev_attr(vm_offset_t pa, vm_size_t size, vm_memattr_t attr) +pmap_mapdev_attr(vm_paddr_t pa, vm_size_t size, vm_memattr_t attr) { CTR4(KTR_PMAP, "%s(%#x, %#x, %#x)", __func__, pa, size, attr); -- cgit v1.1