ion: use vm_insert_pfn for faulted pages
authorColin Cross <ccross@android.com>
Sat, 14 Dec 2013 03:26:24 +0000 (19:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:59:53 +0000 (08:59 -0800)
commit462be0c616c297776556b24daa1511bcc0e0cd2c
tree2c15e34a6308d11267eedd6ec0e9c9fd006403bf
parente460bc5e43f0750c8bdb6967058ed4f18e92812c
ion: use vm_insert_pfn for faulted pages

Most ion userspace mappings are created with remap_pfn_range.  Use
vm_insert_pfn instead of vm_insert_page to make faulted cached
mappings look more like uncached mappings.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c