[dpdk-dev] [PATCH] eal/ppc: fix build

Chao Zhu chaozhu at linux.vnet.ibm.com
Wed Aug 5 11:42:06 CEST 2015


Acked-by: Chao Zhu <chaozhu at 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 at 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.
>    *



More information about the dev mailing list