mirror of
https://github.com/apache/nuttx.git
synced 2026-06-09 19:04:15 +08:00
d9b95c5ca0
If CONFIG_SMP is not enabled, riscv_cpuindex.c will not be compiled anyway. And for CONFIG_ARCH_FPU, if it's not enabled, riscv_fpucmp.c will not be compiled. So we can remove the unnecessary macro guard for up_cpu_index() and up_fpucmp(). Signed-off-by: Huang Qi <huangqi3@xiaomi.com>