mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
global change: repace sched_xfree() to kxmm_free()
Changes: sched_xfree() => kxmm_free() remove garbage related APIs remove ARCH_HAVE_GARBAGE Cause garbage feature move to mm_heap, then don't need garbage anymore. Change-Id: If310790a3208155ca8ab319e8d038cb6ff92c518 Signed-off-by: ligd <liguiding@fishsemi.com>
This commit is contained in:
@@ -71,7 +71,7 @@ static inline void timer_free(struct posix_timer_s *timer)
|
||||
/* Otherwise, return it to the heap */
|
||||
|
||||
leave_critical_section(flags);
|
||||
sched_kfree(timer);
|
||||
kmm_free(timer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user