i810: switch to vm_mmap()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 01:24:36 +0000 (21:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:54 +0000 (21:04 -0400)
commit244ca2b4d0b5e500681e52ad9e6d7f3f2b9362a1
treebe33e7733271215a9b8c37d0916d5501ed5363f5
parentfd657170c039a918c0b46f51db8005317d4c83fa
i810: switch to vm_mmap()

Weirdness around do_mmap() in there does not rely on ->mmap_sem for
exclusion, so no need to keep it under that.  As the result, we can
turn that do_mmap() into vm_mmap().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/gpu/drm/i810/i810_dma.c