Skip to content

Commit

Permalink
x86: do not clear cpu_online_map
Browse files Browse the repository at this point in the history
it was already cleared two lines above, and so, this removal
is bogus

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent 045f9d2 commit e9a6cb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/kernel/smpboot_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,7 @@ int __cpu_disable(void)

remove_cpu_from_maps(cpu);
fixup_irqs(map);
/* It's now safe to remove this processor from the online map */
cpu_clear(cpu, cpu_online_map);

return 0;
}

Expand Down

0 comments on commit e9a6cb9

Please sign in to comment.