]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/channel_monitor.c
add prefix to cache line macros
[dpdk.git] / examples / vm_power_manager / channel_monitor.c
index 08b413702480432c8d9fb518e6654385121f09da..7003ddfde2abdac032748232fd740ee49650223d 100644 (file)
@@ -175,7 +175,7 @@ channel_monitor_init(void)
                return -1;
        }
        global_events_list = rte_malloc("epoll_events", sizeof(*global_events_list)
-                       * MAX_EVENTS, CACHE_LINE_SIZE);
+                       * MAX_EVENTS, RTE_CACHE_LINE_SIZE);
        if (global_events_list == NULL) {
                RTE_LOG(ERR, CHANNEL_MONITOR, "Unable to rte_malloc for "
                                "epoll events\n");