Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312369
b: refs/heads/master
c: bc68330
h: refs/heads/master
i:
  312367: 7bcdd5f
v: v3
  • Loading branch information
Yong Zhang authored and Thomas Gleixner committed Jun 5, 2012
1 parent 523aebc commit d21771c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 459165e25030c0023cb54f73c14261a3d2f4a244
refs/heads/master: bc6833009583bd5b096ef7aa2bb006854a5a2dce
7 changes: 1 addition & 6 deletions trunk/arch/sparc/kernel/smp_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ void __cpuinit smp_callin(void)
if (cheetah_pcache_forced_on)
cheetah_enable_pcache();

local_irq_enable();

callin_flag = 1;
__asm__ __volatile__("membar #Sync\n\t"
"flush %%g6" : : : "memory");
Expand All @@ -124,9 +122,8 @@ void __cpuinit smp_callin(void)
while (!cpumask_test_cpu(cpuid, &smp_commenced_mask))
rmb();

ipi_call_lock_irq();
set_cpu_online(cpuid, true);
ipi_call_unlock_irq();
local_irq_enable();

/* idle thread is expected to have preempt disabled */
preempt_disable();
Expand Down Expand Up @@ -1308,9 +1305,7 @@ int __cpu_disable(void)
mdelay(1);
local_irq_disable();

ipi_call_lock();
set_cpu_online(cpu, false);
ipi_call_unlock();

cpu_map_rebuild();

Expand Down

0 comments on commit d21771c

Please sign in to comment.