Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] x86-64: define dma noncoherent API functions

x86-64 is missing these:

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jeff Garzik and committed by
Linus Torvalds
259886a7 72253943

+3
+3
include/asm-x86_64/dma-mapping.h
··· 63 63 return (dma_addr == bad_dma_address); 64 64 } 65 65 66 + #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) 67 + #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) 68 + 66 69 extern void *dma_alloc_coherent(struct device *dev, size_t size, 67 70 dma_addr_t *dma_handle, gfp_t gfp); 68 71 extern void dma_free_coherent(struct device *dev, size_t size, void *vaddr,