Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoongArch: Fix early_numa_add_cpu() usage for FDT systems
early_numa_add_cpu() applies on physical CPU id rather than logical CPU id, so use cpuid instead of cpu. Cc: [email protected] Fixes: 3de9c42 ("LoongArch: Add all CPUs enabled by fdt to NUMA node 0") Reported-by: Bibo Mao <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
- Loading branch information