diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 16:18:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 16:18:43 -0500 |
commit | 5992fd1995a5e69710011fc7d7945c62bf5b551b (patch) | |
tree | 16a45f188bd66793f89e81b9d0c510ba09b36237 /drivers/infiniband/hw/mthca/mthca_mr.c | |
parent | eafb4f184cd89e8af5676ec49ae35184172553fe (diff) | |
parent | 843613b04744d5b65c2f37975c5310f366a0d070 (diff) |
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
IPoIB: Correct debugging output when path record lookup fails
RDMA/cxgb3: Stop the EP Timer on BAD CLOSE
RDMA/cxgb3: cleanups
RDMA/cma: Remove unused node_guid from cma_device structure
IB/cm: Remove ca_guid from cm_device structure
RDMA/cma: Request reversible paths only
IB/core: Set hop limit in ib_init_ah_from_wc correctly
IB/uverbs: Return correct error for invalid PD in register MR
IPoIB: Remove unused local_rate tracking
IPoIB/cm: Improve small message bandwidth
IB/mthca: Make 2 functions static
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_mr.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_mr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_mr.c b/drivers/infiniband/hw/mthca/mthca_mr.c index 6037dd3f87df..8e4846b5c641 100644 --- a/drivers/infiniband/hw/mthca/mthca_mr.c +++ b/drivers/infiniband/hw/mthca/mthca_mr.c | |||
@@ -310,8 +310,9 @@ int mthca_write_mtt_size(struct mthca_dev *dev) | |||
310 | return mthca_is_memfree(dev) ? (PAGE_SIZE / sizeof (u64)) : 0x7ffffff; | 310 | return mthca_is_memfree(dev) ? (PAGE_SIZE / sizeof (u64)) : 0x7ffffff; |
311 | } | 311 | } |
312 | 312 | ||
313 | void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, | 313 | static void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, |
314 | int start_index, u64 *buffer_list, int list_len) | 314 | struct mthca_mtt *mtt, int start_index, |
315 | u64 *buffer_list, int list_len) | ||
315 | { | 316 | { |
316 | u64 __iomem *mtts; | 317 | u64 __iomem *mtts; |
317 | int i; | 318 | int i; |
@@ -323,8 +324,9 @@ void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, | |||
323 | mtts + i); | 324 | mtts + i); |
324 | } | 325 | } |
325 | 326 | ||
326 | void mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, | 327 | static void mthca_arbel_write_mtt_seg(struct mthca_dev *dev, |
327 | int start_index, u64 *buffer_list, int list_len) | 328 | struct mthca_mtt *mtt, int start_index, |
329 | u64 *buffer_list, int list_len) | ||
328 | { | 330 | { |
329 | __be64 *mtts; | 331 | __be64 *mtts; |
330 | dma_addr_t dma_handle; | 332 | dma_addr_t dma_handle; |