Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191638
b: refs/heads/master
c: f0ccf27
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Apr 26, 2010
1 parent 0dc8874 commit 2ab58a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9f4a3f53b5d61f86eae3512abdf948878ca3498
refs/heads/master: f0ccf2770f523bd4fc436886a38e499f9ec95c0e
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ asmlinkage void __cpuinit start_secondary(void)

smp_store_cpu_info(cpu);

cpu_set(cpu, cpu_online_map);
set_cpu_online(cpu, true);

cpu_idle();
}
Expand Down

0 comments on commit 2ab58a8

Please sign in to comment.