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: new function to create control threads
[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
a616928
..
1766f93
100644
(file)
--- a/
lib/librte_eal/linuxapp/eal/eal_timer.c
+++ b/
lib/librte_eal/linuxapp/eal/eal_timer.c
@@
-207,7
+207,7
@@
rte_eal_hpet_init(int make_default)
/* create a thread that will increment a global variable for
* msb (hpet is 32 bits by default under linux) */
/* create a thread that will increment a global variable for
* msb (hpet is 32 bits by default under linux) */
- ret =
p
thread_create(&msb_inc_thread_id, NULL,
+ ret =
rte_ctrl_
thread_create(&msb_inc_thread_id, NULL,
(void *(*)(void *))hpet_msb_inc, NULL);
if (ret != 0) {
RTE_LOG(ERR, EAL, "ERROR: Cannot create HPET timer thread!\n");
(void *(*)(void *))hpet_msb_inc, NULL);
if (ret != 0) {
RTE_LOG(ERR, EAL, "ERROR: Cannot create HPET timer thread!\n");