Skip to contentSkip to conversation

lib: remove x86 atomic header loop include

PATCH Applied Haiyue Wang 2 participants 2 messages Mar 24, 2022 – Mar 29, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: remove x86 atomic header loop include

Remove the x86 top atomic header include from the architecture related header file, since this x86 top atomic header file has included them.

---
 lib/eal/x86/include/rte_atomic_32.h | 1 -
 lib/eal/x86/include/rte_atomic_64.h | 1 -
 2 files changed, 2 deletions(-)
lib/eal/x86/include/rte_atomic_32.h +0 -1
index f63b7fa275..c885a66e0c 100644
@@ -17,7 +17,6 @@
 
 #include <stdint.h>
 #include <rte_common.h>
-#include <rte_atomic.h>
 
 /*------------------------- 64 bit atomic operations -------------------------*/
 
lib/eal/x86/include/rte_atomic_64.h +0 -1
index cfe7067ddd..0edee86272 100644
@@ -19,7 +19,6 @@
 #include <stdint.h>
 #include <rte_common.h>
 #include <rte_compat.h>
-#include <rte_atomic.h>
 
 /*------------------------- 64 bit atomic operations -------------------------*/
 
Signature · 1 line
2.35.1
#1 lore raw

24/03/2022 09:41, Haiyue Wang:

Quoted 4 lines

Remove the x86 top atomic header include from the architecture related header file, since this x86 top atomic header file has included them.

Applied, thanks.