Print this page
5042 stop using deprecated atomic functions

@@ -217,11 +217,11 @@
         if (!hxge_txdma_reclaim(hxgep, tx_ring_p, hxge_tx_minfree)) {
                 HXGE_DEBUG_MSG((hxgep, TX_CTL,
                     "TX Descriptor ring is full: channel %d", tx_ring_p->tdc));
                 HXGE_DEBUG_MSG((hxgep, TX_CTL,
                     "TX Descriptor ring is full: channel %d", tx_ring_p->tdc));
-                (void) cas32((uint32_t *)&tx_ring_p->queueing, 0, 1);
+                (void) atomic_cas_32((uint32_t *)&tx_ring_p->queueing, 0, 1);
                 tdc_stats->tx_no_desc++;
                 MUTEX_EXIT(&tx_ring_p->lock);
                 status = 1;
                 goto hxge_start_fail1;
         }