From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id E7C61A04FF;
	Thu, 24 Mar 2022 10:13:23 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8BDDC410FC;
	Thu, 24 Mar 2022 10:13:23 +0100 (CET)
Received: from mga07.intel.com (mga07.intel.com [134.134.136.100])
 by mails.dpdk.org (Postfix) with ESMTP id 2DBCE40141
 for <dev@dpdk.org>; Thu, 24 Mar 2022 10:13:20 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1648113201; x=1679649201;
 h=from:to:cc:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=BgXJXNAzrVqfDBp5gxiITFREQ2cLXh0fCGhOofSs0tk=;
 b=IFxD2iucCV5HN97bpZU71aiDv9tKGJ3NJ4L51vbPOMQnvtUq6Zm4Hx/d
 1TPgsRvyTpLT4kfIfWxLXUGFdg9WGzdc3tyXd008K5Czzpv9yspLT7Qu4
 EOUewIhqaaTHweWs7NStd2TW6VrkzW9YxXCuBxrvkUMaqOB1eswCifKUu
 kZFa9KnKP/A3ayfromCjHPX994Vs+5J/fm4ID6dt48DoqpYezxoVmyJy7
 We6iz8wLjoSImSyRvNm0d1uq2Opyj0U5nrfxK/DLyaZzqAK7v8DDov83F
 o2bQRJuJqmdJsRRNduWLQe3waaFUCzpFmzMTCt1tqTf5aBK6BPZzFixkM g==;
X-IronPort-AV: E=McAfee;i="6200,9189,10295"; a="321520051"
X-IronPort-AV: E=Sophos;i="5.90,206,1643702400"; d="scan'208";a="321520051"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 24 Mar 2022 02:13:20 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.90,206,1643702400"; d="scan'208";a="561293074"
Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.110.251])
 by orsmga008.jf.intel.com with ESMTP; 24 Mar 2022 02:13:18 -0700
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
Message-Id: <20220324084143.147637-1-haiyue.wang@intel.com>
X-Mailer: git-send-email 2.35.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

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