sh: convert online CPU map twiddling to cpumask.
This converts from cpu_set() for the online map to set_cpu_online(). The two online map modifiers were the last remaining manual map manipulation bits, with this in place everything now goes through cpumask. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -133,7 +133,7 @@ static void do_nothing(void *unused)
|
||||
void stop_this_cpu(void *unused)
|
||||
{
|
||||
local_irq_disable();
|
||||
cpu_clear(smp_processor_id(), cpu_online_map);
|
||||
set_cpu_online(smp_processor_id(), false);
|
||||
|
||||
for (;;)
|
||||
cpu_sleep();
|
||||
|
Reference in New Issue
Block a user