ion: use vm_insert_pfn for faulted pages
authorColin Cross <ccross@android.com>
Tue, 26 Nov 2013 23:05:46 +0000 (15:05 -0800)
committerColin Cross <ccross@android.com>
Thu, 12 Dec 2013 23:27:10 +0000 (15:27 -0800)
commited6cfafce575cc6baa099212c69b56c0132f598d
treefcd432207b9a8aa155f2713ab5b04adfc551a267
parent3b8da00c6c5e42af7b532dbf51b2d5007095d844
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.

Change-Id: I9ec5cad3fef54f3b80be8b306d7ff2f1fe3f0e66
Signed-off-by: Colin Cross <ccross@android.com>
drivers/staging/android/ion/ion.c