[dpdk-dev] [PACH v7 02a] typo in i686 version of rte_atomic64_exchange

Stephen Hemminger stephen at networkplumber.org
Tue Jan 23 01:07:45 CET 2018


Fix typo in 32 bit version of rte_atomic64_exchange.

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

---
 lib/librte_eal/common/include/arch/x86/rte_atomic_32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/common/include/arch/x86/rte_atomic_32.h b/lib/librte_eal/common/include/arch/x86/rte_atomic_32.h
index 43fa59355ac5..8d711b6f685d 100644
--- a/lib/librte_eal/common/include/arch/x86/rte_atomic_32.h
+++ b/lib/librte_eal/common/include/arch/x86/rte_atomic_32.h
@@ -105,7 +105,7 @@ rte_atomic64_exchange(volatile uint64_t *dest, uint64_t val)
 
 	do {
 		old = *dest;
-	} while (rte_atomic64_t_cmpset(dest, old, val));
+	} while (rte_atomic64_cmpset(dest, old, val));
 
 	return old;
 }
-- 
2.15.1



More information about the dev mailing list