From e45be29f0d623309c0d60bf0e871dc5b1fba92f1 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 2 Jun 2010 12:54:56 +0000 Subject: [PATCH] This function shouldn't have an ibv_ prefix -- it's not part of verbs (it's just a static convenience function here in this file). This commit was SVN r23237. --- ompi/mca/btl/openib/btl_openib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/btl/openib/btl_openib.c b/ompi/mca/btl/openib/btl_openib.c index 2940c1b186..c0695e3763 100644 --- a/ompi/mca/btl/openib/btl_openib.c +++ b/ompi/mca/btl/openib/btl_openib.c @@ -143,7 +143,7 @@ void mca_btl_openib_show_init_error(const char *file, int line, } } -static inline struct ibv_cq *ibv_create_cq_compat(struct ibv_context *context, +static inline struct ibv_cq *create_cq_compat(struct ibv_context *context, int cqe, void *cq_context, struct ibv_comp_channel *channel, int comp_vector) { @@ -168,7 +168,7 @@ static int adjust_cq(mca_btl_openib_device_t *device, const int cq) cq_size = device->ib_dev_attr.max_cqe; if(NULL == device->ib_cq[cq]) { - device->ib_cq[cq] = ibv_create_cq_compat(device->ib_dev_context, cq_size, + device->ib_cq[cq] = create_cq_compat(device->ib_dev_context, cq_size, #if OPAL_ENABLE_PROGRESS_THREADS == 1 device, device->ib_channel, #else