feb6ede434
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
irq_attach.c | ||
irq_chain.c | ||
irq_csection.c | ||
irq_dispatch.c | ||
irq_foreach.c | ||
irq_initialize.c | ||
irq_procfs.c | ||
irq_spinlock.c | ||
irq_unexpectedisr.c | ||
irq.h | ||
Make.defs |