]> Pileus Git - ~andy/linux/commit
ion: allow cached mappings of chunk and system heap buffers
authorColin Cross <ccross@android.com>
Sat, 14 Dec 2013 03:26:26 +0000 (19:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:59:53 +0000 (08:59 -0800)
commita053b6ace160a7751fc53326bb354266e3e914f0
treec47f63b352397b24adb481ff74e807a2a2f19663
parenta3056906bfb98d10618122bc2ba7d142a61fcaf1
ion: allow cached mappings of chunk and system heap buffers

Now that ion_vm_fault uses vm_insert_pfn instead of vm_insert_page
cached buffers can be supported in any heap.  Remove the checks
in the chunk and system heaps.

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_chunk_heap.c
drivers/staging/android/ion/ion_system_heap.c