summaryrefslogtreecommitdiff
path: root/arch/ia64/lib/swiotlb.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2005-10-21 03:21:03 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-28 08:16:47 -0700
commit06a544971fad0992fe8b92c5647538d573089dd4 (patch)
treeb51e38c66fcf65d4023a5627228861bd061c9c5c /arch/ia64/lib/swiotlb.c
parentf9e3214a7964f523e12b4f30b6bd6396794818bd (diff)
downloadlwn-06a544971fad0992fe8b92c5647538d573089dd4.tar.gz
lwn-06a544971fad0992fe8b92c5647538d573089dd4.zip
[PATCH] gfp_t: dma-mapping (ia64)
... and related annotations for amd64 - swiotlb code is shared, but prototypes are not. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ia64/lib/swiotlb.c')
-rw-r--r--arch/ia64/lib/swiotlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/lib/swiotlb.c b/arch/ia64/lib/swiotlb.c
index a604efc7f6c9..3ebbb3c8ba36 100644
--- a/arch/ia64/lib/swiotlb.c
+++ b/arch/ia64/lib/swiotlb.c
@@ -314,7 +314,7 @@ sync_single(struct device *hwdev, char *dma_addr, size_t size, int dir)
void *
swiotlb_alloc_coherent(struct device *hwdev, size_t size,
- dma_addr_t *dma_handle, int flags)
+ dma_addr_t *dma_handle, gfp_t flags)
{
unsigned long dev_addr;
void *ret;