diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-09-06 11:56:43 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-12-08 16:10:20 +0200 |
commit | f0934af34212ad3ffa353643888d1da08bf742f7 (patch) | |
tree | 2371eee84c01616cc7472dcdcc03252d5cde2308 /helper/hashtable.c | |
parent | 0576df3d4a507358c2be7a17ffdf8119f2aac658 (diff) |
helper: remove usage of deprecated ODP_SHM_SW_ONLY flag
Stop using deprecated SHM flag ODP_SHM_SW_ONLY.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'helper/hashtable.c')
-rw-r--r-- | helper/hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/hashtable.c b/helper/hashtable.c index 39da586a8..0c571db91 100644 --- a/helper/hashtable.c +++ b/helper/hashtable.c @@ -81,7 +81,7 @@ odph_table_t odph_hash_table_create(const char *name, uint32_t capacity, ODPH_DBG("name already exist\n"); return NULL; } - shmem = odp_shm_reserve(name, capacity << 20, 64, ODP_SHM_SW_ONLY); + shmem = odp_shm_reserve(name, capacity << 20, 64, 0); if (shmem == ODP_SHM_INVALID) { ODPH_DBG("shm reserve fail\n"); return NULL; |