Thread (24 messages) 24 messages, 8 authors, 2012-03-29

Re: [PATCHv2 02/14] X86 & IA64: adapt for dma_map_ops changes

From: Thomas Gleixner <hidden>
Date: 2012-03-29 13:52:18
Also in: linux-alpha, linux-arm-kernel, linux-mips, linux-mm, linuxppc-dev

On Tue, 27 Mar 2012, Marek Szyprowski wrote:
From: Andrzej Pietrasiewicz <redacted>
-static inline void *dma_alloc_coherent(struct device *dev, size_t size,
-				       dma_addr_t *daddr, gfp_t gfp)
+#define dma_alloc_coherent(d,s,h,f)	dma_alloc_attrs(d,s,h,f,NULL)
Please make this an inline function.
 
+#define dma_alloc_coherent(d,s,h,f)	dma_alloc_attrs(d,s,h,f,NULL)
Inline please.
-static inline void dma_free_coherent(struct device *dev, size_t size,
-				     void *vaddr, dma_addr_t bus)
+#define dma_free_coherent(d,s,c,h) dma_free_attrs(d,s,c,h,NULL)
Ditto

Reviewed-by: Thomas Gleixner <redacted>

Thanks,

	tglx

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help