nuttx/sched/misc
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
..
assert.c sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
CMakeLists.txt coredump: support coredump save to block device when crash 2023-12-10 07:02:03 -08:00
coredump.c coredump: support coredump save to block device when crash 2023-12-10 07:02:03 -08:00
coredump.h coredump: support coredump save to block device when crash 2023-12-10 07:02:03 -08:00
deadlock.c
dump.c arch/dumponexit: unify dump on exit to common code 2023-11-15 08:28:25 -08:00
Make.defs coredump: support coredump save to block device when crash 2023-12-10 07:02:03 -08:00
panic_notifier.c
reboot_notifier.c