]> 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)
commitef62c554ee9b46a1913836f72015de1e036f026d
tree400152e6c1f9fbfc7a027855f81e952b6eff5d2d
parent338e4c1340a3cb53f8d9a0e1e93be591f177ceac
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