Skip to content

Commit

Permalink
x86: call identify_secondary_cpu in smp_store_cpu_info
Browse files Browse the repository at this point in the history
Call it conditionally for secondary cpus. This behaviour
matches i386

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 5745abf commit f7401f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kernel/smpboot_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ static void __cpuinit smp_store_cpu_info(int id)

*c = boot_cpu_data;
c->cpu_index = id;
identify_cpu(c);
if (id != 0)
identify_secondary_cpu(c);
}

static inline void wait_for_init_deassert(atomic_t *deassert)
Expand Down

0 comments on commit f7401f7

Please sign in to comment.