]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vm: convert fb_mmap to vm_iomap_memory() helper
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:57:35 +0000 (09:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 19:51:24 +0000 (12:51 -0700)
commitb3ea73c2d47633f9c1059e6832c7784c12c6aa75
tree8ee13f107a5c8cdb4a3e9289ad3b8a70066dd5ad
parentb88e2557725053ef3ca54ee46be4143ba38b0cd4
vm: convert fb_mmap to vm_iomap_memory() helper

commit fc9bbca8f650e5f738af8806317c0a041a48ae4a upstream.

This is my example conversion of a few existing mmap users.  The
fb_mmap() case is a good example because it is a bit more complicated
than some: fb_mmap() mmaps one of two different memory areas depending
on the page offset of the mmap (but happily there is never any mixing of
the two, so the helper function still works).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/video/fbmem.c