diff options
author | Colin Cross <ccross@android.com> | 2013-12-13 14:25:01 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-14 08:57:18 -0800 |
commit | e946b209c2ed15b1f7917def8fe6602747c3f771 (patch) | |
tree | 8860214869fc38f01dbd05f821487596aafccbc4 /net/appletalk | |
parent | a14baf71b91845a7f68438d48f462cb754699ae2 (diff) | |
download | op-kernel-dev-e946b209c2ed15b1f7917def8fe6602747c3f771.zip op-kernel-dev-e946b209c2ed15b1f7917def8fe6602747c3f771.tar.gz |
ion: fix dma APIs
__dma_page_cpu_to_dev is a private ARM api that is not available
on 3.10 and was never available on other architectures. We can
get the same behavior by calling dma_sync_sg_for_device with a
scatterlist containing a single page. It's still not quite a
kosher use of the dma apis, we still conflate physical addresses
with bus addresses, but it should at least compile on all
platforms, and work on any platform that doesn't have a physical
to bus address translation.
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>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions