summaryrefslogtreecommitdiff
path: root/include/asm-cris
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-07-20 15:00:32 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-20 21:21:59 +0200
commit8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65 (patch)
treeeb8f81653436fc649f567d702edc73bde8ff9ad3 /include/asm-cris
parent9de90ac27d752bc0177baf2699ab483888de0743 (diff)
downloadlinux-3.10-8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65.tar.gz
linux-3.10-8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65.tar.bz2
linux-3.10-8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65.zip
Cris: convert to using generic dma-coherent mem allocator
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-cris')
-rw-r--r--include/asm-cris/dma-mapping.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h
index edc8d1bfaae..4f58670caad 100644
--- a/include/asm-cris/dma-mapping.h
+++ b/include/asm-cris/dma-mapping.h
@@ -14,6 +14,8 @@
#define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h)
#ifdef CONFIG_PCI
+#include <asm-generic/dma-coherent.h>
+
void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t flag);