ion: don't use phys_to_page or __phys_to_pfn
authorColin Cross <ccross@android.com>
Thu, 19 Sep 2013 15:13:53 +0000 (10:13 -0500)
committerColin Cross <ccross@android.com>
Thu, 12 Dec 2013 23:27:04 +0000 (15:27 -0800)
commitf26a6f2aa0beea7eeb0a2f69d44a5975ef8c887e
tree4eca608f957680436ce97006ac5c95bc4e199fc5
parentc7442a7605836527b6d8e6e7ed42608f35ae85ca
ion: don't use phys_to_page or __phys_to_pfn

phys_to_page and __phys_to_pfn don't exist on all platforms.
Use a combination of pfn_to_page, PFN_DOWN, page_to_pfn, and
virt_to_page to get the same results.

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