[dpdk-dev,v2,1/3] eal/arm: use RTE_ARM_EAL_RDTSC_USE_PMU in rte_cycle_32.h
Commit Message
CONFIG_* from config files can not be used in code.
Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
Acked-by: Jan Viktorin <viktorin@rehivetech.com>
---
lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
2015-12-03 23:02, Jianbo Liu:
> CONFIG_* from config files can not be used in code.
>
> Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
> Acked-by: Jan Viktorin <viktorin@rehivetech.com>
Fixes: 12f45fa7e29b ("eal/arm: read timer from PMU if enabled")
@@ -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,