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> Git-commit: f26a6f2aa0beea7eeb0a2f69d44a5975ef8c887e Git-repo: http://android.googlesource.com/kernel/common/ [mitchelh@codeaurora.org: we weren't using the APIs in question in the same locations. Also applied the change to some other locations] Signed-off-by:
Mitchel Humpherys <mitchelh@codeaurora.org>
Loading
Please register or sign in to comment