[dpdk-dev] [PATCH 1/4] eal/arm: use RTE_ARM_EAL_RDTSC_USE_PMU in rte_cycle_32.h
Jan Viktorin
viktorin at rehivetech.com
Tue Dec 1 13:41:07 CET 2015
Hello Jianbo,
thank you for this fix. I had the feeling this works the same like in the Linux
Kernel where the CONFIG_ prefix is be used. My bad. I recommend to make
this patch separate. I can't see any relation to the rest of the series.
Regards
Jan
On Tue, 1 Dec 2015 13:41:13 -0500
Jianbo Liu <jianbo.liu at linaro.org> wrote:
> CONFIG_* from config files can not be used in code.
>
> Signed-off-by: Jianbo Liu <jianbo.liu at linaro.org>
> ---
> lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h b/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h
> index 6c6098e..9c1be71 100644
> --- a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h
> +++ b/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h
> @@ -54,7 +54,7 @@ extern "C" {
> * @return
> * The time base for this lcore.
> */
> -#ifndef CONFIG_RTE_ARM_EAL_RDTSC_USE_PMU
> +#ifndef RTE_ARM_EAL_RDTSC_USE_PMU
>
> /**
> * This call is easily portable to any ARM architecture, however,
--
Jan Viktorin E-mail: Viktorin at RehiveTech.com
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic
More information about the dev
mailing list