x86: fixup cpu_info array conversion
authorThomas Gleixner <tglx@linutronix.de>
Sat, 17 Nov 2007 12:18:42 +0000 (13:18 +0100)
committerThomas Gleixner <tglx@apollo.(none)>
Sat, 17 Nov 2007 15:27:01 +0000 (16:27 +0100)
commit699d934d5f958d7944d195c03c334f28cc0b3669
tree6f51745cd986631962a3a2780937e6f936b55a96
parentc0c52d28e05e8bdaa2126570c02ecb1a7358cecc
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>
arch/x86/kernel/setup_64.c