diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-11-17 07:18:42 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@apollo.(none)> | 2007-11-17 10:27:01 -0500 |
commit | 699d934d5f958d7944d195c03c334f28cc0b3669 (patch) | |
tree | 6f51745cd986631962a3a2780937e6f936b55a96 /arch/x86 | |
parent | c0c52d28e05e8bdaa2126570c02ecb1a7358cecc (diff) |
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 <nanhai.zou@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) | |||
892 | 892 | ||
893 | #ifdef CONFIG_SMP | 893 | #ifdef CONFIG_SMP |
894 | c->phys_proc_id = (cpuid_ebx(1) >> 24) & 0xff; | 894 | c->phys_proc_id = (cpuid_ebx(1) >> 24) & 0xff; |
895 | c->cpu_index = 0; | ||
896 | #endif | 895 | #endif |
897 | } | 896 | } |
898 | 897 | ||