git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal/linux: fix build with glibc < 2.12
[dpdk.git]
/
lib
/
librte_eal
/
linuxapp
/
eal
/
eal_timer.c
diff --git
a/lib/librte_eal/linuxapp/eal/eal_timer.c
b/lib/librte_eal/linuxapp/eal/eal_timer.c
index
e0642de
..
9ceff33
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_timer.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_timer.c
@@
-219,7
+219,7
@@
rte_eal_hpet_init(int make_default)
* Set thread_name for aid in debugging.
*/
snprintf(thread_name, RTE_MAX_THREAD_NAME_LEN, "hpet-msb-inc");
* Set thread_name for aid in debugging.
*/
snprintf(thread_name, RTE_MAX_THREAD_NAME_LEN, "hpet-msb-inc");
- ret =
pthread_setname_np
(msb_inc_thread_id, thread_name);
+ ret =
rte_thread_setname
(msb_inc_thread_id, thread_name);
if (ret != 0)
RTE_LOG(ERR, EAL,
"ERROR: Cannot set HPET timer thread name!\n");
if (ret != 0)
RTE_LOG(ERR, EAL,
"ERROR: Cannot set HPET timer thread name!\n");