diff options
| author | Huacai Chen <[email protected]> | 2024-11-12 08:35:36 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-11-12 08:35:36 +0000 |
| commit | 30cec747d6bf2c3e915c075d76d9712e54cde0a6 (patch) | |
| tree | ef6a8d99ead8a7f07e54cdd38ddbca3dcc4958bf /drivers/cdx/controller/cdx_controller.c | |
| parent | LoongArch: For all possible CPUs setup logical-physical CPU mapping (diff) | |
| download | kernel-30cec747d6bf2c3e915c075d76d9712e54cde0a6.tar.gz kernel-30cec747d6bf2c3e915c075d76d9712e54cde0a6.zip | |
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: 3de9c42d02a79a5 ("LoongArch: Add all CPUs enabled by fdt to NUMA node 0")
Reported-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
