diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-07-20 15:00:32 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-20 21:21:59 +0200 |
commit | 8fa8b9fbab90c74139e8e868fe5b30b6a9f6be65 (patch) | |
tree | eb8f81653436fc649f567d702edc73bde8ff9ad3 /include/asm-cris | |
parent | 9de90ac27d752bc0177baf2699ab483888de0743 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h index edc8d1bfaae2..4f58670caad5 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); |