diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-10-21 03:21:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 08:16:48 -0700 |
commit | 185a8ff52875d8db31b9346ab186f75baa616dee (patch) | |
tree | c139d90dae1184917abdb35f5f3c2514c688390d /arch/mips/mm/dma-coherent.c | |
parent | a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb (diff) | |
download | blackbird-op-linux-185a8ff52875d8db31b9346ab186f75baa616dee.tar.gz blackbird-op-linux-185a8ff52875d8db31b9346ab186f75baa616dee.zip |
[PATCH] gfp_t: dma-mapping (mips)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/mm/dma-coherent.c')
-rw-r--r-- | arch/mips/mm/dma-coherent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/dma-coherent.c b/arch/mips/mm/dma-coherent.c index 97a50d38c98f..a617f8c327e8 100644 --- a/arch/mips/mm/dma-coherent.c +++ b/arch/mips/mm/dma-coherent.c @@ -18,7 +18,7 @@ #include <asm/io.h> void *dma_alloc_noncoherent(struct device *dev, size_t size, - dma_addr_t * dma_handle, int gfp) + dma_addr_t * dma_handle, gfp_t gfp) { void *ret; /* ignore region specifiers */ @@ -39,7 +39,7 @@ void *dma_alloc_noncoherent(struct device *dev, size_t size, EXPORT_SYMBOL(dma_alloc_noncoherent); void *dma_alloc_coherent(struct device *dev, size_t size, - dma_addr_t * dma_handle, int gfp) + dma_addr_t * dma_handle, gfp_t gfp) __attribute__((alias("dma_alloc_noncoherent"))); EXPORT_SYMBOL(dma_alloc_coherent); |