Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109669
b: refs/heads/master
c: 4d08461
h: refs/heads/master
i:
  109667: b488802
v: v3
  • Loading branch information
Paul E. McKenney authored and David S. Miller committed Sep 3, 2008
1 parent 8e95af8 commit 42752a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: e5bd1c3fdd06b6c0fa6dfb98ce31cea1820ce4e9
refs/heads/master: 4d084617fb0d025c42c242362d1f27d337e2d407
8 changes: 4 additions & 4 deletions trunk/arch/sparc64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,10 +1303,6 @@ int __cpu_disable(void)
c->core_id = 0;
c->proc_id = -1;

ipi_call_lock();
cpu_clear(cpu, cpu_online_map);
ipi_call_unlock();

smp_wmb();

/* Make sure no interrupts point to this cpu. */
Expand All @@ -1316,6 +1312,10 @@ int __cpu_disable(void)
mdelay(1);
local_irq_disable();

ipi_call_lock();
cpu_clear(cpu, cpu_online_map);
ipi_call_unlock();

return 0;
}

Expand Down

0 comments on commit 42752a0

Please sign in to comment.