From: Jianbo Liu Date: Thu, 3 Dec 2015 15:02:54 +0000 (+0800) Subject: eal/arm: fix timer read from PMU X-Git-Tag: spdx-start~7825 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=afcd65c44440071b57268a539cb983c9e9893eea;p=dpdk.git 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 --- 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,