Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113486
b: refs/heads/master
c: 0cefa5b
h: refs/heads/master
v: v3
  • Loading branch information
Manfred Spraul authored and Ingo Molnar committed Oct 13, 2008
1 parent a4a4e40 commit 4ea7a3e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 295286a89107c353b9677bc604361c537fd6a1c0
refs/heads/master: 0cefa5b9b0a61b62442c5d0ca00a304c5896b6e9
7 changes: 5 additions & 2 deletions trunk/arch/x86/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,17 @@ static void __cpuinit start_secondary(void *unused)
* does not change while we are assigning vectors to cpus. Holding
* this lock ensures we don't half assign or remove an irq from a cpu.
*/
ipi_call_lock_irq();
ipi_call_lock();
lock_vector_lock();
__setup_vector_irq(smp_processor_id());
cpu_set(smp_processor_id(), cpu_online_map);
unlock_vector_lock();
ipi_call_unlock_irq();
ipi_call_unlock();
per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;

/* enable local interrupts */
local_irq_enable();

setup_secondary_clock();

wmb();
Expand Down

0 comments on commit 4ea7a3e

Please sign in to comment.