DPDK patches and discussions
 help / color / mirror / Atom feed
From: Haiyue Wang <haiyue.wang@intel.com>
To: dev@dpdk.org
Cc: Haiyue Wang <haiyue.wang@intel.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	Konstantin Ananyev <konstantin.ananyev@intel.com>
Subject: [PATCH v1] lib: remove x86 atomic header loop include
Date: Thu, 24 Mar 2022 16:41:43 +0800	[thread overview]
Message-ID: <20220324084143.147637-1-haiyue.wang@intel.com> (raw)

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


             reply	other threads:[~2022-03-24  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-24  8:41 Haiyue Wang [this message]
2022-03-29 12:36 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220324084143.147637-1-haiyue.wang@intel.com \
    --to=haiyue.wang@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=konstantin.ananyev@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).