aboutsummaryrefslogtreecommitdiff
path: root/helper/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'helper/linux.c')
-rw-r--r--helper/linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/helper/linux.c b/helper/linux.c
index 46313f4d6..a2eacc199 100644
--- a/helper/linux.c
+++ b/helper/linux.c
@@ -58,7 +58,7 @@ static void *odp_run_start_routine(void *arg)
odp_start_args_t *start_args = arg;
/* ODP thread local init */
- if (odp_init_local()) {
+ if (odp_init_local(ODP_THREAD_WORKER)) {
ODPH_ERR("Local init failed\n");
return NULL;
}
@@ -203,7 +203,7 @@ int odph_linux_process_fork_n(odph_linux_process_t *proc_tbl,
return -2;
}
- if (odp_init_local()) {
+ if (odp_init_local(ODP_THREAD_WORKER)) {
ODPH_ERR("Local init failed\n");
return -2;
}