projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbf4c3
)
[PATCH] IB/mthca: use generic function instead of arbel_ version in mthca_free_region()
author
Guy German
<guyg@voltaire.com>
Mon, 15 Aug 2005 14:38:50 +0000
(07:38 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sat, 27 Aug 2005 03:37:36 +0000
(20:37 -0700)
Use the generic key_to_hw_index() function instead of the Arbel-specific
version in mthca_free_region().
Signed-off-by: Guy German <guyg@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_mr.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_mr.c
b/drivers/infiniband/hw/mthca/mthca_mr.c
index 0965e66061b7329278df5f8602a1c93facedd2bf..1f97a44477f5d8f31e37ebffb8e3c59bab779ddc 100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_mr.c
+++ b/
drivers/infiniband/hw/mthca/mthca_mr.c
@@
-459,7
+459,7
@@
int mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd,
static void mthca_free_region(struct mthca_dev *dev, u32 lkey)
{
mthca_table_put(dev, dev->mr_table.mpt_table,
-
arbel_key_to_hw_index(
lkey));
+
key_to_hw_index(dev,
lkey));
mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey));
}