From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 16C01A0A02; Fri, 15 Jan 2021 12:11:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00D65140F45; Fri, 15 Jan 2021 12:11:14 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 4E13C140F43; Fri, 15 Jan 2021 12:11:12 +0100 (CET) IronPort-SDR: Zyrh/g/q5frZiY6r2VaxfzH7w0o3WZaI19YxsHJy2A0/2KTgLILj9cG4rYJhP08EpNwNnaJ6JK v/CKUVaVWV5w== X-IronPort-AV: E=McAfee;i="6000,8403,9864"; a="178683267" X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="178683267" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2021 03:11:10 -0800 IronPort-SDR: AruswU6mMdzb7jlsIh2x/vLYer3t5OqZpbfShslhPuTHGruU/ssi8gFZbdbdELZ1zakrIwv9oK TLHeg4NpCjaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="401252636" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2021 03:11:08 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , stable@dpdk.org, Pavan Nikhilesh , Tal Shnaiderman , Thomas Monjalon , Dmitry Kozlyuk Date: Fri, 15 Jan 2021 11:10:33 +0000 Message-Id: <20210115111052.16437-2-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210115111052.16437-1-bruce.richardson@intel.com> References: <20210114110606.21142-1-bruce.richardson@intel.com> <20210115111052.16437-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 01/19] eal: fix missing header inclusion X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The rte_reciprocal header file used standard __rte_always_inline from rte_common.h but does not include that header file, leading to compiler errors when the reciprocal header is included alone. Similarly, rte_thread.h was missing the compat header to get the __rte_experimental macro definition. Fixes: 6d45659eacb8 ("eal: add u64-bit variant for reciprocal divide") Fixes: b1fd151267e6 ("eal: add generic thread-local-storage functions") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- lib/librte_eal/include/rte_reciprocal.h | 1 + lib/librte_eal/include/rte_thread.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/librte_eal/include/rte_reciprocal.h b/lib/librte_eal/include/rte_reciprocal.h index 63e16fde0a..4a59be30a8 100644 --- a/lib/librte_eal/include/rte_reciprocal.h +++ b/lib/librte_eal/include/rte_reciprocal.h @@ -26,6 +26,7 @@ #define _RTE_RECIPROCAL_H_ #include +#include struct rte_reciprocal { uint32_t m; diff --git a/lib/librte_eal/include/rte_thread.h b/lib/librte_eal/include/rte_thread.h index f1ae2d32cc..e640ea1857 100644 --- a/lib/librte_eal/include/rte_thread.h +++ b/lib/librte_eal/include/rte_thread.h @@ -3,6 +3,7 @@ */ #include +#include #ifndef _RTE_THREAD_H_ #define _RTE_THREAD_H_ -- 2.27.0