On Wed, Apr 22, 2015 at 3:01 AM, Nicolas Morey-Chaisemartin < nmo...@kalray.eu> wrote:
> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu> > Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org> > --- > platform/linux-generic/odp_pool.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/platform/linux-generic/odp_pool.c > b/platform/linux-generic/odp_pool.c > index ea993bb..a3d80b5 100644 > --- a/platform/linux-generic/odp_pool.c > +++ b/platform/linux-generic/odp_pool.c > @@ -371,7 +371,7 @@ odp_pool_t odp_pool_create(const char *name, > tmp->flags.all = 0; > tmp->flags.zeroized = zeroized; > tmp->size = 0; > - odp_atomic_store_u32(&tmp->ref_count, 0); > + odp_atomic_init_u32(&tmp->ref_count, 0); > tmp->type = params->type; > tmp->pool_hdl = pool->s.pool_hdl; > tmp->udata_addr = (void *)udat; > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp >
_______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp