DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH v1] lib: remove x86 atomic header loop include
@ 2022-03-24  8:41 Haiyue Wang
  2022-03-29 12:36 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Haiyue Wang @ 2022-03-24  8:41 UTC (permalink / raw)
  To: dev; +Cc: Haiyue Wang, Bruce Richardson, Konstantin Ananyev

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

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
 lib/eal/x86/include/rte_atomic_32.h | 1 -
 lib/eal/x86/include/rte_atomic_64.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/lib/eal/x86/include/rte_atomic_32.h b/lib/eal/x86/include/rte_atomic_32.h
index f63b7fa275..c885a66e0c 100644
--- a/lib/eal/x86/include/rte_atomic_32.h
+++ b/lib/eal/x86/include/rte_atomic_32.h
@@ -17,7 +17,6 @@
 
 #include <stdint.h>
 #include <rte_common.h>
-#include <rte_atomic.h>
 
 /*------------------------- 64 bit atomic operations -------------------------*/
 
diff --git a/lib/eal/x86/include/rte_atomic_64.h b/lib/eal/x86/include/rte_atomic_64.h
index cfe7067ddd..0edee86272 100644
--- a/lib/eal/x86/include/rte_atomic_64.h
+++ b/lib/eal/x86/include/rte_atomic_64.h
@@ -19,7 +19,6 @@
 #include <stdint.h>
 #include <rte_common.h>
 #include <rte_compat.h>
-#include <rte_atomic.h>
 
 /*------------------------- 64 bit atomic operations -------------------------*/
 
-- 
2.35.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-29 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24  8:41 [PATCH v1] lib: remove x86 atomic header loop include Haiyue Wang
2022-03-29 12:36 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).