]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
undefined symbol: dapls_print_cm_list
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 5 Feb 2010 19:51:16 +0000 (11:51 -0800)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 5 Feb 2010 19:51:16 +0000 (11:51 -0800)
call prototype should be dependent on DAPL_COUNTERS.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_cma/dapl_ib_util.h
dapl/openib_scm/dapl_ib_util.h
dapl/openib_ucm/dapl_ib_util.h

index 6b43c91f6006b62e2960c1ed0807aa8847b06c77..451a967d0b53b9e56b70462e891ed612a5131c67 100755 (executable)
@@ -125,9 +125,11 @@ void dapli_cq_event_cb(struct _ib_hca_transport *tp);
 dp_ib_cm_handle_t dapls_ib_cm_create(DAPL_EP *ep);
 void dapls_ib_cm_free(dp_ib_cm_handle_t cm, DAPL_EP *ep);
 
+#ifdef DAPL_COUNTERS
 STATIC _INLINE_ void dapls_print_cm_list(IN DAPL_IA * ia_ptr)
 {
        return;
 }
+#endif
 
 #endif /*  _DAPL_IB_UTIL_H_ */
index 138a3dd74c049b00beef23928d8e790f798f1469..831084fa1b39d2901d76f60c14d0de792950d243 100644 (file)
@@ -113,6 +113,9 @@ void dapli_cq_event_cb(struct _ib_hca_transport *tp);
 DAT_RETURN dapli_socket_disconnect(dp_ib_cm_handle_t cm_ptr);
 dp_ib_cm_handle_t dapls_ib_cm_create(DAPL_EP *ep);
 void dapls_ib_cm_free(dp_ib_cm_handle_t cm, DAPL_EP *ep);
+
+#ifdef DAPL_COUNTERS
 void dapls_print_cm_list(IN DAPL_IA *ia_ptr);
+#endif
 
 #endif /*  _DAPL_IB_UTIL_H_ */
index 62734590ed375378fd9e5313188ebb5a34b46b4a..d7844c6a128745791c7f5730fcea05718e7ff20d 100644 (file)
@@ -119,7 +119,10 @@ void ucm_async_event(struct dapl_hca *hca);
 void dapli_cq_event_cb(struct _ib_hca_transport *tp);
 dp_ib_cm_handle_t dapls_ib_cm_create(DAPL_EP *ep);
 void dapls_ib_cm_free(dp_ib_cm_handle_t cm, DAPL_EP *ep);
+
+#ifdef DAPL_COUNTERS
 void dapls_print_cm_list(IN DAPL_IA *ia_ptr);
+#endif
 
 #endif /*  _DAPL_IB_UTIL_H_ */