From 10e3d28372e6721e374473b5e4ca56f1b148fedb Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 9 Mar 2021 14:23:52 +0800 Subject: [PATCH] mm/heap: Change nxsem_init to _SEM_INIT Signed-off-by: Xiang Xiao Change-Id: I84ad710c3ebe92d31d6c8dc1ddf6b63c10494ce2 --- mm/mm_heap/mm_sem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mm_heap/mm_sem.c b/mm/mm_heap/mm_sem.c index d42040ec23..bdb233a863 100644 --- a/mm/mm_heap/mm_sem.c +++ b/mm/mm_heap/mm_sem.c @@ -85,7 +85,7 @@ void mm_seminitialize(FAR struct mm_heap_s *heap) * private data sets). */ - nxsem_init(&heap_impl->mm_semaphore, 0, 1); + _SEM_INIT(&heap_impl->mm_semaphore, 0, 1); heap_impl->mm_holder = NO_HOLDER; heap_impl->mm_counts_held = 0;