nuttx/sched/irq
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
..
CMakeLists.txt cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
irq_attach.c clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
irq_chain.c Include assert.h in necessary place 2021-06-08 13:06:08 -07:00
irq_csection.c sched: replace some global variables to macro 2024-03-21 18:51:25 +08:00
irq_dispatch.c clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
irq_foreach.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
irq_initialize.c add the startup process tracepoint 2023-08-19 21:50:08 +08:00
irq_procfs.c fs: procfs add poll support 2023-12-26 19:23:13 -08:00
irq_spinlock.c sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
irq_unexpectedisr.c Fix compiler warnings (-Wunused-parameter) in various functions 2022-07-12 11:42:34 +08:00
irq.h clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
Make.defs sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00