[PATCH] fix ipath_dma_free_coherent() prototype
authorAl Viro <viro@ftp.linux.org.uk>
Wed, 14 Mar 2007 09:16:04 +0000 (09:16 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Mar 2007 22:27:49 +0000 (15:27 -0700)
method gets u64, not dma_addr_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/hw/ipath/ipath_dma.c

index f6f9490408258da1c8e49b09a54a362e48930ff0..f87f003e3ef887845d6d0da293b7df24f6874da4 100644 (file)
@@ -167,7 +167,7 @@ static void *ipath_dma_alloc_coherent(struct ib_device *dev, size_t size,
 }
 
 static void ipath_dma_free_coherent(struct ib_device *dev, size_t size,
-                                   void *cpu_addr, dma_addr_t dma_handle)
+                                   void *cpu_addr, u64 dma_handle)
 {
        free_pages((unsigned long) cpu_addr, get_order(size));
 }