x86/cpu: Remove x86_coreid_bits
authorThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 21:04:21 +0000 (22:04 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 15 Feb 2024 21:07:38 +0000 (22:07 +0100)
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
arch/x86/include/asm/processor.h
arch/x86/kernel/cpu/common.c

index 4fbeffd678e26486905d1900674477ae46acd219..de1648ee2b9eeb50a85efca9344d632fef6808ef 100644 (file)
@@ -122,8 +122,6 @@ struct cpuinfo_x86 {
 #endif
        __u8                    x86_virt_bits;
        __u8                    x86_phys_bits;
-       /* CPUID returned core id bits: */
-       __u8                    x86_coreid_bits;
        /* Max extended CPUID function supported: */
        __u32                   extended_cpuid_level;
        /* Maximum supported CPUID level, -1=no CPUID: */
index d72787d1b8cbee195474e6cb44a40fba3b776300..33064e661a2df171b088a273fe25e1a46fbe8176 100644 (file)
@@ -1753,7 +1753,6 @@ static void identify_cpu(struct cpuinfo_x86 *c)
        c->x86_vendor_id[0] = '\0'; /* Unset */
        c->x86_model_id[0] = '\0';  /* Unset */
        c->x86_max_cores = 1;
-       c->x86_coreid_bits = 0;
 #ifdef CONFIG_X86_64
        c->x86_clflush_size = 64;
        c->x86_phys_bits = 36;