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

[PATCH] gfp_t: dma-mapping (xtensa)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Al Viro and committed by
Linus Torvalds
5fb5cbed f80aabb0

+2 -2
+1 -1
arch/xtensa/kernel/pci-dma.c
··· 29 29 */ 30 30 31 31 void * 32 - dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, int gfp) 32 + dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) 33 33 { 34 34 void *ret; 35 35
+1 -1
include/asm-xtensa/dma-mapping.h
··· 28 28 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) 29 29 30 30 void *dma_alloc_coherent(struct device *dev, size_t size, 31 - dma_addr_t *dma_handle, int flag); 31 + dma_addr_t *dma_handle, gfp_t flag); 32 32 33 33 void dma_free_coherent(struct device *dev, size_t size, 34 34 void *vaddr, dma_addr_t dma_handle);