Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4757
b: refs/heads/master
c: d12734d
h: refs/heads/master
i:
  4755: 9fc9187
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 11, 2005
1 parent 85d3f73 commit 8983326
Show file tree
Hide file tree
Showing 4 changed files with 4 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: 7343c9ba8ed9d504cd2daf960da58971c6631601
refs/heads/master: d12734d14e5602816f0b16b17a8cef5ea70afb5a
4 changes: 2 additions & 2 deletions trunk/arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* The present bitmask indicates that the CPU is physically present.
* The online bitmask indicates that the CPU is up and running.
*/
cpumask_t cpu_present_mask;
cpumask_t cpu_possible_map;
cpumask_t cpu_online_map;

/*
Expand Down Expand Up @@ -235,7 +235,7 @@ void __init smp_prepare_boot_cpu(void)
{
unsigned int cpu = smp_processor_id();

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

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-integrator/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
* be present.
*/
for (i = 0; i < max_cpus; i++) {
cpu_set(i, cpu_present_mask);
cpu_set(i, cpu_possible_map);
}

/*
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/asm-arm/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@

#define raw_smp_processor_id() (current_thread_info()->cpu)

extern cpumask_t cpu_present_mask;
#define cpu_possible_map cpu_present_mask

/*
* at the moment, there's not a big penalty for changing CPUs
* (the >big< penalty is running SMP in the first place)
Expand Down

0 comments on commit 8983326

Please sign in to comment.