x86: move cpu_coregroup_map to common file
[sfrench/cifs-2.6.git] / arch / x86 / kernel / smpboot_32.c
index 322f46674d427aa37be02af294637a29edf2be53..a58ca7f18013a2c78dccaa72a6a540a70b510753 100644 (file)
@@ -260,20 +260,6 @@ static void __cpuinit smp_callin(void)
 
 static int cpucount;
 
-/* maps the cpu to the sched domain representing multi-core */
-cpumask_t cpu_coregroup_map(int cpu)
-{
-       struct cpuinfo_x86 *c = &cpu_data(cpu);
-       /*
-        * For perf, we return last level cache shared map.
-        * And for power savings, we return cpu_core_map
-        */
-       if (sched_mc_power_savings || sched_smt_power_savings)
-               return per_cpu(cpu_core_map, cpu);
-       else
-               return c->llc_shared_map;
-}
-
 /*
  * Activate a secondary processor.
  */