From: Linus Torvalds Date: Fri, 19 Apr 2013 16:57:35 +0000 (-0700) Subject: vm: convert fb_mmap to vm_iomap_memory() helper X-Git-Tag: v3.2.45~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc6b92e0aa98ec9547bf779f4e71c0f259f794f3;p=pandora-kernel.git 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 [bwh: Backported to 3.2: fold in the relevant part of commit 314e51b9851b 'mm: kill vma flag VM_RESERVED and mm->reserved_vm counter'] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed