diff options
Diffstat (limited to 'arch/sh/mm/consistent.c')
-rw-r--r-- | arch/sh/mm/consistent.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index 8ce98691d822..35ea3099a3b6 100644 --- a/arch/sh/mm/consistent.c +++ b/arch/sh/mm/consistent.c | |||
@@ -20,18 +20,9 @@ | |||
20 | #include <asm/cacheflush.h> | 20 | #include <asm/cacheflush.h> |
21 | #include <asm/addrspace.h> | 21 | #include <asm/addrspace.h> |
22 | 22 | ||
23 | #define PREALLOC_DMA_DEBUG_ENTRIES 4096 | ||
24 | |||
25 | const struct dma_map_ops *dma_ops; | 23 | const struct dma_map_ops *dma_ops; |
26 | EXPORT_SYMBOL(dma_ops); | 24 | EXPORT_SYMBOL(dma_ops); |
27 | 25 | ||
28 | static int __init dma_init(void) | ||
29 | { | ||
30 | dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES); | ||
31 | return 0; | ||
32 | } | ||
33 | fs_initcall(dma_init); | ||
34 | |||
35 | void *dma_generic_alloc_coherent(struct device *dev, size_t size, | 26 | void *dma_generic_alloc_coherent(struct device *dev, size_t size, |
36 | dma_addr_t *dma_handle, gfp_t gfp, | 27 | dma_addr_t *dma_handle, gfp_t gfp, |
37 | unsigned long attrs) | 28 | unsigned long attrs) |