Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/cpu: Remove x86_coreid_bits

No more users.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Tested-by: Michael Kelley <mhklinux@outlook.com>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20240212153625.455839743@linutronix.de




-3
-2
arch/x86/include/asm/processor.h
··· 122 122 #endif 123 123 __u8 x86_virt_bits; 124 124 __u8 x86_phys_bits; 125 - /* CPUID returned core id bits: */ 126 - __u8 x86_coreid_bits; 127 125 /* Max extended CPUID function supported: */ 128 126 __u32 extended_cpuid_level; 129 127 /* Maximum supported CPUID level, -1=no CPUID: */
-1
arch/x86/kernel/cpu/common.c
··· 1753 1753 c->x86_vendor_id[0] = '\0'; /* Unset */ 1754 1754 c->x86_model_id[0] = '\0'; /* Unset */ 1755 1755 c->x86_max_cores = 1; 1756 - c->x86_coreid_bits = 0; 1757 1756 #ifdef CONFIG_X86_64 1758 1757 c->x86_clflush_size = 64; 1759 1758 c->x86_phys_bits = 36;