[patch v2 04/30] x86/jailhouse: Use new APIC registration function

From: Thomas Gleixner
Date: Tue Jan 23 2024 - 08:17:02 EST


From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
arch/x86/kernel/jailhouse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
--- a/arch/x86/kernel/jailhouse.c
+++ b/arch/x86/kernel/jailhouse.c
@@ -102,7 +102,7 @@ static void __init jailhouse_parse_smp_c
register_lapic_address(0xfee00000);

for (cpu = 0; cpu < setup_data.v1.num_cpus; cpu++)
- generic_processor_info(setup_data.v1.cpu_ids[cpu]);
+ topology_register_apic(setup_data.v1.cpu_ids[cpu], CPU_ACPIID_INVALID, true);

smp_found_config = 1;