From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp04.in.ibm.com (e28smtp04.in.ibm.com [122.248.162.4]) by dpdk.org (Postfix) with ESMTP id 58A3E5A64 for ; Wed, 5 Aug 2015 12:22:35 +0200 (CEST) Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 5 Aug 2015 15:52:31 +0530 Received: from d28dlp01.in.ibm.com (9.184.220.126) by e28smtp04.in.ibm.com (192.168.1.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 5 Aug 2015 15:52:29 +0530 X-Helo: d28dlp01.in.ibm.com X-MailFrom: chaozhu@linux.vnet.ibm.com X-RcptTo: dev@dpdk.org Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id A092EE1267 for ; Wed, 5 Aug 2015 15:16:40 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay04.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t759gDHW41156694 for ; Wed, 5 Aug 2015 15:12:14 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t759gCTl028548 for ; Wed, 5 Aug 2015 15:12:13 +0530 Received: from [9.186.59.64] ([9.186.59.64]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t759gB6Z028333; Wed, 5 Aug 2015 15:12:12 +0530 Message-ID: <55C1DA6E.1070609@linux.vnet.ibm.com> Date: Wed, 05 Aug 2015 17:42:06 +0800 From: Chao Zhu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas Monjalon References: <1438766002-1194-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1438766002-1194-1-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15080510-0013-0000-0000-000006A2BA93 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal/ppc: fix build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 10:22:36 -0000 Acked-by: Chao Zhu On 2015/8/5 17:13, Thomas Monjalon wrote: > Byte ordering macros were used without including the needed header. > > Fixes: ce10b21bf624 ("eal/ppc: fix cpu cycle count for little endian") > > Signed-off-by: Thomas Monjalon > --- > lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h > index e663c48..64beddf 100644 > --- a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h > +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h > @@ -39,6 +39,8 @@ extern "C" { > > #include "generic/rte_cycles.h" > > +#include > + > /** > * Read the time base register. > *