aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/dma-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/dma-mapping.h')
-rw-r--r--arch/alpha/include/asm/dma-mapping.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/dma-mapping.h b/arch/alpha/include/asm/dma-mapping.h
index b78f61f20796..76ce923ecca1 100644
--- a/arch/alpha/include/asm/dma-mapping.h
+++ b/arch/alpha/include/asm/dma-mapping.h
@@ -6,7 +6,11 @@ extern const struct dma_map_ops *dma_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
+#ifdef CONFIG_ALPHA_JENSEN
+ return &dma_direct_ops;
+#else
return dma_ops;
+#endif
}
#endif /* _ALPHA_DMA_MAPPING_H */