x86/of: Use new APIC registration functions
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:05:40 +0000 (22:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:42 +0000 (22:07 +0100)
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.776009244@linutronix.de
arch/x86/kernel/devicetree.c

index c05b900845bd10ef7d1ef3427a28ed920e43e2bf..4aeafe63521b8367a644820e2858ef94730d8135 100644 (file)
@@ -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);
        }
 }