mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
x86: use cpu_clear in remove_cpu_from_maps
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
cd569ef5d6
commit
29cbeb0e17
@ -1311,7 +1311,7 @@ static void __ref remove_cpu_from_maps(int cpu)
|
||||
cpu_clear(cpu, cpu_callout_map);
|
||||
cpu_clear(cpu, cpu_callin_map);
|
||||
/* was set by cpu_init() */
|
||||
clear_bit(cpu, (unsigned long *)&cpu_initialized);
|
||||
cpu_clear(cpu, cpu_initialized);
|
||||
numa_remove_cpu(cpu);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user