diff options
Diffstat (limited to 'lib/librte_timer')
-rw-r--r-- | lib/librte_timer/rte_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c index 18782fab..5ee08408 100644 --- a/lib/librte_timer/rte_timer.c +++ b/lib/librte_timer/rte_timer.c @@ -46,11 +46,11 @@ #include <rte_memzone.h> #include <rte_launch.h> #include <rte_eal.h> -#include <rte_per_lcore.h> #include <rte_lcore.h> #include <rte_branch_prediction.h> #include <rte_spinlock.h> #include <rte_random.h> +#include <rte_pause.h> #include "rte_timer.h" @@ -183,7 +183,7 @@ timer_set_running_state(struct rte_timer *tim) return -1; /* here, we know that timer is stopped or pending, - * mark it atomically as beeing configured */ + * mark it atomically as being configured */ status.state = RTE_TIMER_RUNNING; status.owner = (int16_t)lcore_id; success = rte_atomic32_cmpset(&tim->status.u32, |