DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] eal/ppc: fix build
@ 2015-08-05  9:13 Thomas Monjalon
  2015-08-05  9:42 ` Chao Zhu
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2015-08-05  9:13 UTC (permalink / raw)
  To: Chao Zhu; +Cc: dev

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 <thomas.monjalon@6wind.com>
---
 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 <rte_byteorder.h>
+
 /**
  * Read the time base register.
  *
-- 
2.4.2

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

* Re: [dpdk-dev] [PATCH] eal/ppc: fix build
  2015-08-05  9:13 [dpdk-dev] [PATCH] eal/ppc: fix build Thomas Monjalon
@ 2015-08-05  9:42 ` Chao Zhu
  2015-08-05 12:54   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Chao Zhu @ 2015-08-05  9:42 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>

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 <thomas.monjalon@6wind.com>
> ---
>   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 <rte_byteorder.h>
> +
>   /**
>    * Read the time base register.
>    *

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

* Re: [dpdk-dev] [PATCH] eal/ppc: fix build
  2015-08-05  9:42 ` Chao Zhu
@ 2015-08-05 12:54   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2015-08-05 12:54 UTC (permalink / raw)
  To: Chao Zhu; +Cc: dev

> > 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 <thomas.monjalon@6wind.com>
> Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>

Applied

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

end of thread, other threads:[~2015-08-05 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-05  9:13 [dpdk-dev] [PATCH] eal/ppc: fix build Thomas Monjalon
2015-08-05  9:42 ` Chao Zhu
2015-08-05 12:54   ` 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).