diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-03-14 10:16:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-14 23:27:49 +0100 |
commit | 62577fa324991146ded3d16e7ef08e7a99d2ec7e (patch) | |
tree | e9bb4e35937c127c67f0f19b7c60c8652e6e42ae | |
parent | [PATCH] stacktrace doesn't work on uml (diff) | |
download | linux-62577fa324991146ded3d16e7ef08e7a99d2ec7e.tar.xz linux-62577fa324991146ded3d16e7ef08e7a99d2ec7e.zip |
[PATCH] fix ipath_dma_free_coherent() prototype
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>
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_dma.c b/drivers/infiniband/hw/ipath/ipath_dma.c index f6f949040825..f87f003e3ef8 100644 --- a/drivers/infiniband/hw/ipath/ipath_dma.c +++ b/drivers/infiniband/hw/ipath/ipath_dma.c @@ -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)); } |