nuttx/mm/tlsf
chao an feb6ede434 sched/cpu: replace up_cpu_index() to this_cpu()
In SMP mode, up_cpu_index()/this_cpu() are the same, both return the index of the physical core.
In AMP mode, up_cpu_index() will return the index of the physical core, and this_cpu() will always return 0

| #ifdef CONFIG_SMP
| #  define this_cpu()             up_cpu_index()
| #elif defined(CONFIG_AMP)
| #  define this_cpu()             (0)
| #else
| #  define this_cpu()             (0)
| #endif

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-21 18:52:35 +08:00
..
.gitignore
0001-Add-TLSF_API-and-tlsf_printf.patch
0002-Define-_DEBUG-to-0-if-not-done-yet.patch
0003-Support-customize-FL_INDEX_MAX-to-reduce-the-memory-.patch
0004-Add-tlsf_extend_pool-function.patch
0005-Fix-warnining-on-implicit-pointer-conversion.patch
CMakeLists.txt
Make.defs
mm_tlsf.c