[dpdk-dev] [PATCH] eal/linux: fix build with glibc < 2.12

2016-06-20 Thread Thomas Monjalon
2016-06-19 23:11, Thomas Monjalon: > The function rte_thread_setname needs glibc 2.12, > otherwise it returns -1 without using any parameter. > The macro RTE_SET_USED avoids an "unused parameter" warning. > > Fixes: 3901ed99c2f8 ("eal: fix thread naming on FreeBSD") > > Signed-off-by: Thomas

[dpdk-dev] [PATCH] eal/linux: fix build with glibc < 2.12

2016-06-20 Thread Thomas Monjalon
The function rte_thread_setname needs glibc 2.12, otherwise it returns -1 without using any parameter. The macro RTE_SET_USED avoids an "unused parameter" warning. Fixes: 3901ed99c2f8 ("eal: fix thread naming on FreeBSD") Signed-off-by: Thomas Monjalon ---