diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index f49c26bd7e2d..6bd4d9b73870 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -1154,7 +1154,7 @@ static void __init smp_cpu_index_default(void) | |||
1154 | for_each_possible_cpu(i) { | 1154 | for_each_possible_cpu(i) { |
1155 | c = &cpu_data(i); | 1155 | c = &cpu_data(i); |
1156 | /* mark all to hotplug */ | 1156 | /* mark all to hotplug */ |
1157 | c->cpu_index = NR_CPUS; | 1157 | c->cpu_index = nr_cpu_ids; |
1158 | } | 1158 | } |
1159 | } | 1159 | } |
1160 | 1160 | ||