Commit 30cec747 authored by Huacai Chen's avatar Huacai Chen
Browse files

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: stable@vger.kernel.org
Fixes: 3de9c42d ("LoongArch: Add all CPUs enabled by fdt to NUMA node 0")
Reported-by: default avatarBibo Mao <maobibo@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent a6654a40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment