diff options
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index cad5431951aa..6638294cec8d 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c | |||
@@ -324,7 +324,7 @@ void stop_this_cpu(void *dummy) | |||
324 | /* | 324 | /* |
325 | * Remove this CPU: | 325 | * Remove this CPU: |
326 | */ | 326 | */ |
327 | cpu_clear(smp_processor_id(), cpu_online_map); | 327 | set_cpu_online(smp_processor_id(), false); |
328 | disable_local_APIC(); | 328 | disable_local_APIC(); |
329 | 329 | ||
330 | for (;;) { | 330 | for (;;) { |