Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4759
b: refs/heads/master
c: 73eb7d9
h: refs/heads/master
i:
  4757: 8983326
  4755: 9fc9187
  4751: d2af4f6
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 11, 2005
1 parent 601af07 commit a3db1aa
Show file tree
Hide file tree
Showing 3 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: e11b2236eace94ad9a2e421904742e83976405ed
refs/heads/master: 73eb7d9e8cfd16813eec94d0ec8fa2a5262a85cc
1 change: 1 addition & 0 deletions trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ void __init smp_prepare_boot_cpu(void)
unsigned int cpu = smp_processor_id();

cpu_set(cpu, cpu_possible_map);
cpu_set(cpu, cpu_present_map);
cpu_set(cpu, cpu_online_map);
}

Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-integrator/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,13 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
max_cpus = ncores;

/*
* Initialise the present mask - this tells us which CPUs should
* be present.
* Initialise the possible/present maps.
* cpu_possible_map describes the set of CPUs which may be present
* cpu_present_map describes the set of CPUs populated
*/
for (i = 0; i < max_cpus; i++) {
cpu_set(i, cpu_possible_map);
cpu_set(i, cpu_present_map);
}

/*
Expand Down

0 comments on commit a3db1aa

Please sign in to comment.