aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r/kernel/sys_m32r.c
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2017-04-18 11:27:05 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-18 20:41:12 +0200
commit204f672255c228ef7a66c29ae48123778da938a1 (patch)
tree038f782b7abb1290f34fad60659e9dede9d681ad /arch/m32r/kernel/sys_m32r.c
parente4231bcda72daef497af45e195a33daa0f9357d0 (diff)
staging: android: ion: Use CMA APIs directly
When CMA was first introduced, its primary use was for DMA allocation and the only way to get CMA memory was to call dma_alloc_coherent. This put Ion in an awkward position since there was no device structure readily available and setting one up messed up the coherency model. These days, CMA can be allocated directly from the APIs. Switch to using this model to avoid needing a dummy device. This also mitigates some of the caching problems (e.g. dma_alloc_coherent only returning uncached memory). Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/m32r/kernel/sys_m32r.c')
0 files changed, 0 insertions, 0 deletions