include/asm-generic/dma-coherent.h
0 → 100644
+32
−0
+4
−0
+1
−0
kernel/dma-coherent.c
0 → 100644
+127
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>