diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/topology.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 77cfb2cfb386..744299c0b774 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -217,10 +217,6 @@ static inline cpumask_t node_to_cpumask(int node) | |||
217 | { | 217 | { |
218 | return cpu_online_map; | 218 | return cpu_online_map; |
219 | } | 219 | } |
220 | static inline int node_to_first_cpu(int node) | ||
221 | { | ||
222 | return first_cpu(cpu_online_map); | ||
223 | } | ||
224 | 220 | ||
225 | static inline void setup_node_to_cpumask_map(void) { } | 221 | static inline void setup_node_to_cpumask_map(void) { } |
226 | 222 | ||
@@ -237,14 +233,6 @@ static inline void setup_node_to_cpumask_map(void) { } | |||
237 | 233 | ||
238 | #include <asm-generic/topology.h> | 234 | #include <asm-generic/topology.h> |
239 | 235 | ||
240 | #ifdef CONFIG_NUMA | ||
241 | /* Returns the number of the first CPU on Node 'node'. */ | ||
242 | static inline int node_to_first_cpu(int node) | ||
243 | { | ||
244 | return cpumask_first(cpumask_of_node(node)); | ||
245 | } | ||
246 | #endif | ||
247 | |||
248 | extern cpumask_t cpu_coregroup_map(int cpu); | 236 | extern cpumask_t cpu_coregroup_map(int cpu); |
249 | extern const struct cpumask *cpu_coregroup_mask(int cpu); | 237 | extern const struct cpumask *cpu_coregroup_mask(int cpu); |
250 | 238 | ||