diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index da8f15ac7a6d..003a65395bd5 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -550,7 +550,9 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c) | |||
550 | 550 | ||
551 | validate_pat_support(c); | 551 | validate_pat_support(c); |
552 | 552 | ||
553 | #ifdef CONFIG_SMP | ||
553 | c->cpu_index = boot_cpu_id; | 554 | c->cpu_index = boot_cpu_id; |
555 | #endif | ||
554 | } | 556 | } |
555 | 557 | ||
556 | void __init early_cpu_init(void) | 558 | void __init early_cpu_init(void) |