X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvm_power_manager%2Fchannel_monitor.c;h=e7f5cc4a0c7f60b367ad8bae357786fe9128ec25;hb=e3368ca99820e1ec1a91d489ce8cff28706ce059;hp=08b413702480432c8d9fb518e6654385121f09da;hpb=e8ae9b6625067b789117738592e88140a10ed7a8;p=dpdk.git diff --git a/examples/vm_power_manager/channel_monitor.c b/examples/vm_power_manager/channel_monitor.c index 08b4137024..e7f5cc4a0c 100644 --- a/examples/vm_power_manager/channel_monitor.c +++ b/examples/vm_power_manager/channel_monitor.c @@ -42,7 +42,6 @@ #include #include -#include #include #include #include @@ -175,7 +174,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");