diff options
Diffstat (limited to 'include/asm-x86/topology.h')
-rw-r--r-- | include/asm-x86/topology.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-x86/topology.h b/include/asm-x86/topology.h index 22073268b481..4793ae745a78 100644 --- a/include/asm-x86/topology.h +++ b/include/asm-x86/topology.h | |||
@@ -198,4 +198,17 @@ extern cpumask_t cpu_coregroup_map(int cpu); | |||
198 | #define smt_capable() (smp_num_siblings > 1) | 198 | #define smt_capable() (smp_num_siblings > 1) |
199 | #endif | 199 | #endif |
200 | 200 | ||
201 | #ifdef CONFIG_NUMA | ||
202 | extern int get_mp_bus_to_node(int busnum); | ||
203 | extern void set_mp_bus_to_node(int busnum, int node); | ||
204 | #else | ||
205 | static inline int get_mp_bus_to_node(int busnum) | ||
206 | { | ||
207 | return 0; | ||
208 | } | ||
209 | static inline void set_mp_bus_to_node(int busnum, int node) | ||
210 | { | ||
211 | } | ||
212 | #endif | ||
213 | |||
201 | #endif | 214 | #endif |