fix a bug when persistent does not work if CMK_USE_OOB is disabled.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 13 Apr 2012 21:58:31 +0000 (16:58 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 13 Apr 2012 21:58:31 +0000 (16:58 -0500)
src/arch/gemini_gni/machine.c

index 2796256db1f79a2d3e73b7745a727a3cda34114e..34b824c8f8987628697c46d472032dd1f46579b0 100644 (file)
@@ -245,7 +245,7 @@ int         lrts_send_rdma_success = 0;
 #define  POST_HIGHPRIORITY_RDMA   
 #endif
 
-#if REMOTE_EVENT && CMK_USE_OOB  
+#if REMOTE_EVENT && (CMK_USE_OOB || CMK_PERSISTENT_COMM) 
 #define  PUMP_REMOTE_HIGHPRIORITY    STATS_PUMPREMOTETRANSACTIONS_TIME(PumpRemoteTransactions(highpriority_rx_cqh) );
 #else
 #define  PUMP_REMOTE_HIGHPRIORITY
@@ -4058,7 +4058,7 @@ void LrtsDrainResources()
         PumpLocalTransactions(rdma_tx_cqh, rdma_tx_cq_lock);
 #endif
 
-#if CMK_USE_OOB
+#if CMK_USE_OOB 
         PumpLocalTransactions(highprior_rdma_tx_cqh, rdma_tx_cq_lock);
 #endif