]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/include/asm/dma-mapping.h
dock: make dock driver not a module
[linux-2.6-omap-h63xx.git] / arch / ia64 / include / asm / dma-mapping.h
index 9f0df9bd46b7f1a772f5a121782a73b70b753af4..06ff1ba21465a38dff682a5b19d0a6a05eab938a 100644 (file)
@@ -8,7 +8,9 @@
 #include <asm/machvec.h>
 #include <linux/scatterlist.h>
 
-#define dma_alloc_coherent     platform_dma_alloc_coherent
+#define dma_alloc_coherent(dev, size, handle, gfp)     \
+       platform_dma_alloc_coherent(dev, size, handle, (gfp) | GFP_DMA)
+
 /* coherent mem. is cheap */
 static inline void *
 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle,