From: Thomas Gleixner Date: Sat, 17 Nov 2007 12:18:42 +0000 (+0100) Subject: x86: fixup cpu_info array conversion X-Git-Tag: v5.15~43971^2~9 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=699d934d5f958d7944d195c03c334f28cc0b3669;p=mirror_ubuntu-kernels.git x86: fixup cpu_info array conversion 92cb7612aee39642d109b8d935ad265e602c0563 sets cpu_info->cpu_index to zero for no reason. Referencing cpu_info->cpu_index now points always to CPU#0, which is apparently not what we want. Remove it. Spotted-by: Zou Nan hai Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 3cb3874489be..30d94d1d5f5f 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -892,7 +892,6 @@ void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c) #ifdef CONFIG_SMP c->phys_proc_id = (cpuid_ebx(1) >> 24) & 0xff; - c->cpu_index = 0; #endif }