x86/of: Use new APIC registration functions

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
This commit is contained in:
Thomas Gleixner 2024-02-13 22:05:40 +01:00
parent 8cd01c8a68
commit 7d319c0fca

View 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);
}
}