x86/cpu/topology: Confine topology information
Now that all external fiddling with num_processors and disabled_cpus is gone, move the last user prefill_possible_map() into the topology code too and remove the global visibility of these variables. 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.994756960@linutronix.de
Showing
- arch/x86/include/asm/smp.h 0 additions, 3 deletionsarch/x86/include/asm/smp.h
- arch/x86/kernel/apic/apic.c 0 additions, 1 deletionarch/x86/kernel/apic/apic.c
- arch/x86/kernel/cpu/topology.c 74 additions, 2 deletionsarch/x86/kernel/cpu/topology.c
- arch/x86/kernel/smpboot.c 0 additions, 72 deletionsarch/x86/kernel/smpboot.c
Please register or sign in to comment