From afcd65c44440071b57268a539cb983c9e9893eea Mon Sep 17 00:00:00 2001 From: Jianbo Liu Date: Thu, 3 Dec 2015 23:02:54 +0800 Subject: [PATCH] eal/arm: fix timer read from PMU CONFIG_* from config files can not be used in code. Fixes: 12f45fa7e29b ("eal/arm: read timer from PMU if enabled") Signed-off-by: Jianbo Liu Acked-by: Jan Viktorin --- 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 6c6098edd7..9c1be71ea2 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, -- 2.20.1