[PATCH] ARM SMP: Rename cpu_present_mask to cpu_possible_map
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 11 Jul 2005 16:38:36 +0000 (17:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 11 Jul 2005 16:38:36 +0000 (17:38 +0100)
The kernel's terminology for this is cpu_possible_map not
cpu_present_mask.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c
arch/arm/mach-integrator/platsmp.c
include/asm-arm/smp.h

index a931409c8fe405340cab9205ad1d5af156583d9c..44a27b2a3c290bf495b7882d09a23ae0fa0b799b 100644 (file)
@@ -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;
 
 /*
@@ -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);
 }
 
index ead15dfcb53d143f587ff6aaeab52e07acfcd708..88f40a5189cd6fc8e23810bb4bbdc05b50b31d68 100644 (file)
@@ -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);
        }
 
        /*
index 6c6c60adbbaa0552aabe8433625a2153b45e5d0e..dbb4d859c58664b80e43ca8afee7590bbcf01847 100644 (file)
@@ -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)