From: Thomas Gleixner Date: Tue, 13 Feb 2024 21:05:40 +0000 (+0100) Subject: x86/of: Use new APIC registration functions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7d319c0fcae68e489fcf806cdea46a795062eaf7;p=linux.git x86/of: Use new APIC registration functions No functional change intended. Signed-off-by: Thomas Gleixner Tested-by: Michael Kelley Tested-by: Sohil Mehta Link: https://lore.kernel.org/r/20240213210251.776009244@linutronix.de --- diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index c05b900845bd1..4aeafe63521b8 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -136,7 +136,7 @@ static void __init dtb_cpu_setup(void) pr_warn("%pOF: missing local APIC ID\n", dn); continue; } - generic_processor_info(apic_id); + topology_register_apic(apic_id, CPU_ACPIID_INVALID, true); } }