diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2015-06-12 14:56:59 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-06-16 21:49:49 +0300 |
commit | 3b85a98072bfee1cc86dc5ed016fbf34f4e7255e (patch) | |
tree | 1af130ad1bec75e4f4c6a3ce36bc6cb96e0eccaa /platform/linux-generic/odp_init.c | |
parent | 363707e3686a26d258c027e2c7bec2b0be9aab6b (diff) |
linux-generic: thread: updated thread mask handling
Linux generic thread mask handling uses thrmask API. Added
worker and control masks for easy implementation of functions
returning those masks.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/odp_init.c')
-rw-r--r-- | platform/linux-generic/odp_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 48c9bba..48d9b20 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -121,14 +121,14 @@ int odp_term_global(void) return rc; } -int odp_init_local(odp_thread_type_t thr_type ODP_UNUSED) +int odp_init_local(odp_thread_type_t thr_type) { if (odp_shm_init_local()) { ODP_ERR("ODP shm local init failed.\n"); return -1; } - if (odp_thread_init_local()) { + if (odp_thread_init_local(thr_type)) { ODP_ERR("ODP thread local init failed.\n"); return -1; } |