aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/jailhouse.c
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2024-02-13 22:05:39 +0100
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2024-02-15 22:07:42 +0100
commit8cd01c8a68b083e2a0af601c5464e2dfa64f1421 (patch)
tree97daff759a062299dc11df87c581621bb6839f20 /arch/x86/kernel/jailhouse.c
parentx86/acpi: Use new APIC registration functions (diff)
downloadlinux-8cd01c8a68b083e2a0af601c5464e2dfa64f1421.tar.gz
linux-8cd01c8a68b083e2a0af601c5464e2dfa64f1421.tar.bz2
linux-8cd01c8a68b083e2a0af601c5464e2dfa64f1421.zip
x86/jailhouse: Use new APIC registration function
No functional change intended. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Michael Kelley <mhklinux@outlook.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com> Link: https://lore.kernel.org/r/20240213210251.720970412@linutronix.de
Diffstat (limited to 'arch/x86/kernel/jailhouse.c')
-rw-r--r--arch/x86/kernel/jailhouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c
index 5128ac863a66..df337860612d 100644
--- a/arch/x86/kernel/jailhouse.c
+++ b/arch/x86/kernel/jailhouse.c
@@ -102,7 +102,7 @@ static void __init jailhouse_parse_smp_config(void)
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;