summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/dma-coherent.h
AgeCommit message (Collapse)AuthorFilesLines
2012-05-21common: add dma_mmap_from_coherent() functionMarek Szyprowski1-1/+3
Add a common helper for dma-mapping core for mapping a coherent buffer to userspace. Reported-by: Subash Patel <subashrp@gmail.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Tested-By: Subash Patel <subash.ramaswamy@linaro.org>
2008-06-30generic: per-device coherent dma allocatorDmitry Baryshkov1-0/+32
Currently x86_32, sh and cris-v32 provide per-device coherent dma memory allocator. However their implementation is nearly identical. Refactor out common code to be reused by them. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>