atomic_dec_return -> env_atomic_dec_return
Fix usage of undefined function Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
This commit is contained in:
parent
a084c1cb1c
commit
51396bf0e6
@ -452,7 +452,7 @@ void _ocf_flush_container_complete(void *ctx)
|
|||||||
{
|
{
|
||||||
struct ocf_mngt_cache_flush_context *context = ctx;
|
struct ocf_mngt_cache_flush_context *context = ctx;
|
||||||
|
|
||||||
if (atomic_dec_return(&context->fcs.count)) {
|
if (env_atomic_dec_return(&context->fcs.count)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user