diff options
author | 2024-02-13 22:06:12 +0100 | |
---|---|---|
committer | 2024-02-15 22:07:45 +0100 | |
commit | 8078f4d6102f9370b3b7436d25717735d21f5c09 (patch) | |
tree | 81cf67154e5f5f75bb9008d46ff839027d3ae770 /arch/x86/include/asm/smp.h | |
parent | x86/cpu/topology: Retrieve cores per package from topology bitmaps (diff) | |
download | linux-8078f4d6102f9370b3b7436d25717735d21f5c09.tar.gz linux-8078f4d6102f9370b3b7436d25717735d21f5c09.tar.bz2 linux-8078f4d6102f9370b3b7436d25717735d21f5c09.zip |
x86/cpu/topology: Rename smp_num_siblings
It's really a non-intuitive name. Rename it to __max_threads_per_core which
is obvious.
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/20240213210253.011307973@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/smp.h')
-rw-r--r-- | arch/x86/include/asm/smp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 5318470cea02..54d6d71e0eca 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -8,8 +8,6 @@ #include <asm/current.h> #include <asm/thread_info.h> -extern unsigned int smp_num_siblings; - DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map); DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map); DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_die_map); |