diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-03-14 12:16:04 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-15 01:27:49 +0300 |
commit | 62577fa324991146ded3d16e7ef08e7a99d2ec7e (patch) | |
tree | e9bb4e35937c127c67f0f19b7c60c8652e6e42ae /drivers | |
parent | 6df0187efc91867383195a78e262414d8843f1c9 (diff) | |
download | linux-62577fa324991146ded3d16e7ef08e7a99d2ec7e.tar.xz |
[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>
Diffstat (limited to 'drivers')
-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)); } |