[S390] cpumask: remove cpu_coregroup_map
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 26 Mar 2009 14:24:58 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:32 +0000 (15:24 +0100)
Impact: cleanup

cpu_coregroup_mask is the New Hotness.

As S/390 uses theirs internally, so we just make it static.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/topology.h
arch/s390/kernel/topology.c

index c979c3b56ab062f1c4ddc7515b21ca464c38f40b..5e0ad618dc45d2b3ea111f8f494c95e6fa8b99e9 100644 (file)
@@ -5,7 +5,6 @@
 
 #define mc_capable()   (1)
 
-cpumask_t cpu_coregroup_map(unsigned int cpu);
 const struct cpumask *cpu_coregroup_mask(unsigned int cpu);
 
 extern cpumask_t cpu_core_map[NR_CPUS];
index cc362c9ea8f1acc42d001d957a35e881868b4e0b..3c72c9cf22b68f8f40a6b68d0da1972b9c112bf1 100644 (file)
@@ -74,7 +74,7 @@ static DEFINE_SPINLOCK(topology_lock);
 
 cpumask_t cpu_core_map[NR_CPUS];
 
-cpumask_t cpu_coregroup_map(unsigned int cpu)
+static cpumask_t cpu_coregroup_map(unsigned int cpu)
 {
        struct core_info *core = &core_info;
        unsigned long flags;