diff options
Diffstat (limited to 'arch/mips/mm/dma-default.c')
-rw-r--r-- | arch/mips/mm/dma-default.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index 2e9418562258..44b6dff5aba2 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <dma-coherence.h> | 24 | #include <dma-coherence.h> |
25 | 25 | ||
26 | #ifdef CONFIG_DMA_MAYBE_COHERENT | ||
26 | int coherentio = 0; /* User defined DMA coherency from command line. */ | 27 | int coherentio = 0; /* User defined DMA coherency from command line. */ |
27 | EXPORT_SYMBOL_GPL(coherentio); | 28 | EXPORT_SYMBOL_GPL(coherentio); |
28 | int hw_coherentio = 0; /* Actual hardware supported DMA coherency setting. */ | 29 | int hw_coherentio = 0; /* Actual hardware supported DMA coherency setting. */ |
@@ -42,6 +43,7 @@ static int __init setnocoherentio(char *str) | |||
42 | return 0; | 43 | return 0; |
43 | } | 44 | } |
44 | early_param("nocoherentio", setnocoherentio); | 45 | early_param("nocoherentio", setnocoherentio); |
46 | #endif | ||
45 | 47 | ||
46 | static inline struct page *dma_addr_to_page(struct device *dev, | 48 | static inline struct page *dma_addr_to_page(struct device *dev, |
47 | dma_addr_t dma_addr) | 49 | dma_addr_t dma_addr) |