summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-02-14 00:05:59 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-02-16 00:07:44 +0300
commitea2dd8a5d4361ef0b000196043fa407f05b16f1d (patch)
tree6ba6656ca3f7e0e0f3a832510e2eb49ea8c172ba /scripts/lib
parent7cdcdab1a660bbe9f98bf1591c048ce7ccee59e0 (diff)
downloadlinux-ea2dd8a5d4361ef0b000196043fa407f05b16f1d.tar.xz
x86/cpu/topology: Assign hotpluggable CPUIDs during init
There is no point in assigning the CPU numbers during ACPI physical hotplug. The number of possible hotplug CPUs is known when the possible map is initialized, so the CPU numbers can be associated to the registered non-present APIC IDs right there. This allows to put more code into the __init section and makes the related data __ro_after_init. 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/20240213210252.517339971@linutronix.de
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions