Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225886
b: refs/heads/master
c: f36d340
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Dec 20, 2010
1 parent 641ae11 commit 80280b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: bbc81fd4327f9ed4480b05981e38acd48b1d184a
refs/heads/master: f36d340122ae8744e64af0a92a6f77b97542c0a4
4 changes: 3 additions & 1 deletion trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,11 @@ void __ref cpu_die(void)
{
unsigned int cpu = smp_processor_id();

local_irq_disable();
idle_task_exit();

local_irq_disable();
mb();

/* Tell __cpu_die() that this CPU is now safe to dispose of */
complete(&cpu_died);

Expand Down

0 comments on commit 80280b3

Please sign in to comment.