]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_timer/rte_timer.c
net/mlx4: fix ring wraparound compiler hint
[dpdk.git] / lib / librte_timer / rte_timer.c
index ec86744e065922634471511e6e00f0239bd12298..28decc39290df14c34ac381fa4d6284d3d0c9a34 100644 (file)
@@ -43,7 +43,6 @@
 #include <rte_cycles.h>
 #include <rte_per_lcore.h>
 #include <rte_memory.h>
-#include <rte_memzone.h>
 #include <rte_launch.h>
 #include <rte_eal.h>
 #include <rte_lcore.h>
@@ -526,7 +525,7 @@ void rte_timer_manage(void)
                return;
        cur_time = rte_get_timer_cycles();
 
-#ifdef RTE_ARCH_X86_64
+#ifdef RTE_ARCH_64
        /* on 64-bit the value cached in the pending_head.expired will be
         * updated atomically, so we can consult that for a quick check here
         * outside the lock */