summaryrefslogtreecommitdiff
path: root/include/asm-sh64/dma-mapping.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2005-10-21 11:21:53 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-28 19:16:49 +0400
commit970a9e73f9036ef89d46b8240f99463f6d244c1d (patch)
tree0a55b5f311024661468a96fb01cb1063816f8d95 /include/asm-sh64/dma-mapping.h
parent5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 (diff)
downloadlinux-970a9e73f9036ef89d46b8240f99463f6d244c1d.tar.xz
[PATCH] gfp_t: dma-mapping (simple cases)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh64/dma-mapping.h')
-rw-r--r--include/asm-sh64/dma-mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh64/dma-mapping.h b/include/asm-sh64/dma-mapping.h
index b8d26fe677f4..cc9a2e86f5b4 100644
--- a/include/asm-sh64/dma-mapping.h
+++ b/include/asm-sh64/dma-mapping.h
@@ -25,7 +25,7 @@ static inline int dma_set_mask(struct device *dev, u64 mask)
}
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
- dma_addr_t *dma_handle, int flag)
+ dma_addr_t *dma_handle, gfp_t flag)
{
return consistent_alloc(NULL, size, dma_handle);
}