diff options
author | 2024-02-13 22:06:16 +0100 | |
---|---|---|
committer | 2024-02-16 15:51:32 +0100 | |
commit | 89b0f15f408f7c4ee98c1ec4c3224852fcbc3274 (patch) | |
tree | c1260ecb1ae8fb3bdc36ff6bdf6ad1b294abf684 /arch/x86/include/asm/processor.h | |
parent | x86/cpu/topology: Provide __num_[cores|threads]_per_package (diff) | |
download | linux-89b0f15f408f7c4ee98c1ec4c3224852fcbc3274.tar.gz linux-89b0f15f408f7c4ee98c1ec4c3224852fcbc3274.tar.bz2 linux-89b0f15f408f7c4ee98c1ec4c3224852fcbc3274.zip |
x86/cpu/topology: Get rid of cpuinfo::x86_max_cores
Now that __num_cores_per_package and __num_threads_per_package are
available, cpuinfo::x86_max_cores and the related math all over the place
can be replaced with the ready to consume data.
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.176147806@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index de1648ee2b9e..326581df4846 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -149,8 +149,6 @@ struct cpuinfo_x86 { unsigned long loops_per_jiffy; /* protected processor identification number */ u64 ppin; - /* cpuid returned max cores value: */ - u16 x86_max_cores; u16 x86_clflush_size; /* number of cores as seen by the OS: */ u16 booted_cores; |