diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 00:19:48 -0400 |
|---|---|---|
| committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 00:19:48 -0400 |
| commit | 23c5c9c66263311de1295b42382e5bc1e7c36c47 (patch) | |
| tree | d02a6104c639a49b41c8ab58ef7690fa9ebd5ee8 | |
| parent | cb3d560f36c1e4aa3c26a1d79e9b6e62ab69896c (diff) | |
cpumask: remove cpu_coregroup_map: x86
Impact: cleanup
cpu_coregroup_mask is the New Hotness.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
| -rw-r--r-- | arch/x86/include/asm/topology.h | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/smpboot.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index d772facb263e..6b954fbd7872 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
| @@ -244,7 +244,6 @@ static inline int node_to_first_cpu(int node) | |||
| 244 | } | 244 | } |
| 245 | #endif | 245 | #endif |
| 246 | 246 | ||
| 247 | extern cpumask_t cpu_coregroup_map(int cpu); | ||
| 248 | extern const struct cpumask *cpu_coregroup_mask(int cpu); | 247 | extern const struct cpumask *cpu_coregroup_mask(int cpu); |
| 249 | 248 | ||
| 250 | #ifdef ENABLE_TOPO_DEFINES | 249 | #ifdef ENABLE_TOPO_DEFINES |
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index ef7d10170c30..f534257d4b46 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
| @@ -428,11 +428,6 @@ const struct cpumask *cpu_coregroup_mask(int cpu) | |||
| 428 | return &c->llc_shared_map; | 428 | return &c->llc_shared_map; |
| 429 | } | 429 | } |
| 430 | 430 | ||
| 431 | cpumask_t cpu_coregroup_map(int cpu) | ||
| 432 | { | ||
| 433 | return *cpu_coregroup_mask(cpu); | ||
| 434 | } | ||
| 435 | |||
| 436 | static void impress_friends(void) | 431 | static void impress_friends(void) |
| 437 | { | 432 | { |
| 438 | int cpu; | 433 | int cpu; |
