diff options
Diffstat (limited to 'platform/linux-generic/odp_thread.c')
-rw-r--r-- | platform/linux-generic/odp_thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index af891bce8..ffb116974 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -68,7 +68,7 @@ int _odp_thread_init_global(void) if (num_max > ODP_THREAD_COUNT_MAX) num_max = ODP_THREAD_COUNT_MAX; - shm = odp_shm_reserve("_odp_thread_globals", + shm = odp_shm_reserve("_odp_thread_global", sizeof(thread_globals_t), ODP_CACHE_LINE_SIZE, 0); @@ -97,7 +97,7 @@ int _odp_thread_term_global(void) if (num) ODP_ERR("%u threads have not called odp_term_local().\n", num); - ret = odp_shm_free(odp_shm_lookup("_odp_thread_globals")); + ret = odp_shm_free(odp_shm_lookup("_odp_thread_global")); if (ret < 0) ODP_ERR("shm free failed for _odp_thread_globals"); |