Skip to content

Commit

Permalink
[S390] cpumask: remove cpu_coregroup_map
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell authored and Martin Schwidefsky committed Mar 26, 2009
1 parent c70d0fe commit 6f7a321
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion arch/s390/include/asm/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6f7a321

Please sign in to comment.