From 3dc3ad8568aae78c6c3ebad44e859a0feac05c38 Mon Sep 17 00:00:00 2001 From: rnoland Date: Tue, 29 Dec 2009 21:51:28 +0000 Subject: Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime... --- sys/arm/arm/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arm') diff --git a/sys/arm/arm/mem.c b/sys/arm/arm/mem.c index abad8ae..a77ad90 100644 --- a/sys/arm/arm/mem.c +++ b/sys/arm/arm/mem.c @@ -153,8 +153,8 @@ memrw(struct cdev *dev, struct uio *uio, int flags) /* ARGSUSED */ int -memmmap(struct cdev *dev, vm_offset_t offset, vm_paddr_t *paddr, - int prot __unused) +memmmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, + int prot __unused, vm_memattr_t *memattr __unused) { if (dev2unit(dev) == CDEV_MINOR_MEM) *paddr = offset; -- cgit v1.1