nuttx/mm
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
..
bin build: add initial cmake build system 2023-07-08 13:50:48 +08:00
circbuf mm: Fix some typos 2023-11-24 09:57:10 -08:00
iob mm/iob: Replace the critical section with spin lock 2023-10-30 11:18:34 +02:00
kasan toolchain/lto: enable lto flags only on GNU toolchain 2024-02-18 00:47:53 -08:00
kbin build: add initial cmake build system 2023-07-08 13:50:48 +08:00
kmap mm/kmap: Finalize kmap implementation for RISC-V 2023-11-23 16:38:41 -08:00
kmm_heap cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
map compiler/tasking: fix NULL pointer reference 2024-01-31 05:02:56 -08:00
mempool mm: Using Macros Instead of Memory to Fill Labels 2024-03-14 22:48:19 +08:00
mm_gran mm/gran: Replace the critical section with spin lock 2023-10-30 11:18:34 +02:00
mm_heap sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
shm Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tlsf sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
ubsan cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
umm_heap cmake:complete missing changes during cmake reforming for mm 2023-09-08 21:20:16 +03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig mm: Using Macros Instead of Memory to Fill Labels 2024-03-14 22:48:19 +08:00
Makefile mm/kmm_map: Add support to dynamically map pages into kernel virtual memory 2023-06-02 10:50:26 +08:00