Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243581
b: refs/heads/master
c: 4fcb883
h: refs/heads/master
i:
  243579: b3a1e53
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Apr 1, 2011
1 parent ace5efa commit f75fddc
Show file tree
Hide file tree
Showing 2 changed files with 2 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: fa3f82c8bb7acbe049ea71f258b3ae0a33d9d40b
refs/heads/master: 4fcb8833af3355065bd8bffcd338eabc6f3a38a0
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,13 @@ void generic_mach_cpu_die(void)
unsigned int cpu;

local_irq_disable();
idle_task_exit();
cpu = smp_processor_id();
printk(KERN_DEBUG "CPU%d offline\n", cpu);
__get_cpu_var(cpu_state) = CPU_DEAD;
smp_wmb();
while (__get_cpu_var(cpu_state) != CPU_UP_PREPARE)
cpu_relax();
set_cpu_online(cpu, true);
local_irq_enable();
}
#endif

Expand Down

0 comments on commit f75fddc

Please sign in to comment.