Commit d12734d1 authored by Russell King's avatar Russell King Committed by Russell King

[PATCH] ARM SMP: Rename cpu_present_mask to cpu_possible_map

The kernel's terminology for this is cpu_possible_map not
cpu_present_mask.
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7343c9ba
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* The present bitmask indicates that the CPU is physically present. * The present bitmask indicates that the CPU is physically present.
* The online bitmask indicates that the CPU is up and running. * 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; cpumask_t cpu_online_map;
/* /*
...@@ -235,7 +235,7 @@ void __init smp_prepare_boot_cpu(void) ...@@ -235,7 +235,7 @@ void __init smp_prepare_boot_cpu(void)
{ {
unsigned int cpu = smp_processor_id(); unsigned int cpu = smp_processor_id();
cpu_set(cpu, cpu_present_mask); cpu_set(cpu, cpu_possible_map);
cpu_set(cpu, cpu_online_map); cpu_set(cpu, cpu_online_map);
} }
......
...@@ -178,7 +178,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) ...@@ -178,7 +178,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
* be present. * be present.
*/ */
for (i = 0; i < max_cpus; i++) { for (i = 0; i < max_cpus; i++) {
cpu_set(i, cpu_present_mask); cpu_set(i, cpu_possible_map);
} }
/* /*
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
#define raw_smp_processor_id() (current_thread_info()->cpu) #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 * at the moment, there's not a big penalty for changing CPUs
* (the >big< penalty is running SMP in the first place) * (the >big< penalty is running SMP in the first place)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment