Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3241
b: refs/heads/master
c: a9fa06c
h: refs/heads/master
i:
  3239: 4c9e2e5
v: v3
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Jun 25, 2005
1 parent 54f580c commit 890242a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a02c4cb67e4ccd5ce7a13c7f04c2fedb06c35431
refs/heads/master: a9fa06c26f7b7914c8cdf4d309b74df3151cc227
3 changes: 3 additions & 0 deletions trunk/arch/ia64/kernel/smpboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ smp_callin (void)
lock_ipi_calllock();
cpu_set(cpuid, cpu_online_map);
unlock_ipi_calllock();
per_cpu(cpu_state, cpuid) = CPU_ONLINE;

smp_setup_percpu_timer();

Expand Down Expand Up @@ -611,6 +612,7 @@ void __devinit smp_prepare_boot_cpu(void)
{
cpu_set(smp_processor_id(), cpu_online_map);
cpu_set(smp_processor_id(), cpu_callin_map);
per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
}

/*
Expand Down Expand Up @@ -775,6 +777,7 @@ __cpu_up (unsigned int cpu)
if (cpu_isset(cpu, cpu_callin_map))
return -EINVAL;

per_cpu(cpu_state, cpu) = CPU_UP_PREPARE;
/* Processor goes to start_secondary(), sets online flag */
ret = do_boot_cpu(sapicid, cpu);
if (ret < 0)
Expand Down

0 comments on commit 890242a

Please sign in to comment.