cpumask: remove cpu_coregroup_map: x86
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:48 +0000 (14:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Mar 2009 04:19:48 +0000 (14:49 +1030)
Impact: cleanup

cpu_coregroup_mask is the New Hotness.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c

index d772facb263e2d3c11d0e8bb71eb14857ad414d4..6b954fbd787230e051e261836bfc3bfe554d5366 100644 (file)
@@ -244,7 +244,6 @@ static inline int node_to_first_cpu(int node)
 }
 #endif
 
-extern cpumask_t cpu_coregroup_map(int cpu);
 extern const struct cpumask *cpu_coregroup_mask(int cpu);
 
 #ifdef ENABLE_TOPO_DEFINES
index ef7d10170c30d1e98291cfdb0b4d0f17eda49b28..f534257d4b469b5c4d11fed12fed8e665c9237d6 100644 (file)
@@ -428,11 +428,6 @@ const struct cpumask *cpu_coregroup_mask(int cpu)
                return &c->llc_shared_map;
 }
 
-cpumask_t cpu_coregroup_map(int cpu)
-{
-       return *cpu_coregroup_mask(cpu);
-}
-
 static void impress_friends(void)
 {
        int cpu;