summaryrefslogtreecommitdiffstats
path: root/include/asm-sh64
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2005-10-21 09:21:53 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-28 17:16:49 +0200
commit970a9e73f9036ef89d46b8240f99463f6d244c1d (patch)
tree0a55b5f311024661468a96fb01cb1063816f8d95 /include/asm-sh64
parent[PATCH] gfp_t: dma-mapping (xtensa) (diff)
downloadlinux-970a9e73f9036ef89d46b8240f99463f6d244c1d.tar.xz
linux-970a9e73f9036ef89d46b8240f99463f6d244c1d.zip
[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')
-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);
}