diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-07-19 05:53:13 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-08-12 08:10:11 +0300 |
commit | e9e7ff16d7f098f6fa9394e9d2b191c01ba0d5f6 (patch) | |
tree | f60dadb261598d0a4fbfd832528d4889d01bf9b3 /arch/loongarch/include/asm/bootinfo.h | |
parent | ab2579d79529b8ed34f26a374a352f12ce24d5df (diff) | |
download | linux-e9e7ff16d7f098f6fa9394e9d2b191c01ba0d5f6.tar.xz |
LoongArch: Parse MADT to get multi-processor information
Parse MADT to get multi-processor information, in order to fix the boot
problem and cpu-hotplug problem for SMP platform.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/include/asm/bootinfo.h')
-rw-r--r-- | arch/loongarch/include/asm/bootinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/include/asm/bootinfo.h b/arch/loongarch/include/asm/bootinfo.h index 9b8d49d9e61b..e02ac4af7f6e 100644 --- a/arch/loongarch/include/asm/bootinfo.h +++ b/arch/loongarch/include/asm/bootinfo.h @@ -28,10 +28,10 @@ struct loongson_board_info { struct loongson_system_configuration { int nr_cpus; int nr_nodes; - int nr_io_pics; int boot_cpu_id; int cores_per_node; int cores_per_package; + unsigned long cores_io_master; const char *cpuname; }; |