]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 19 Apr 2013 16:57:35 +0000 (09:57 -0700)
commit3cee78f015328a9e7d265ab5a08d5f02c123d1fe
tree400152e6c1f9fbfc7a027855f81e952b6eff5d2d
parent222f397a903670b207ffab88b7c14fad3f383faf
vm: convert fb_mmap to vm_iomap_memory() helper

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>
drivers/video/fbmem.c