diff options
Diffstat (limited to 'include/asm-x86_64/topology.h')
-rw-r--r-- | include/asm-x86_64/topology.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-x86_64/topology.h b/include/asm-x86_64/topology.h index 67f24e0ea819..da21573ec731 100644 --- a/include/asm-x86_64/topology.h +++ b/include/asm-x86_64/topology.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/config.h> | 4 | #include <linux/config.h> |
5 | 5 | ||
6 | #ifdef CONFIG_DISCONTIGMEM | 6 | #ifdef CONFIG_NUMA |
7 | 7 | ||
8 | #include <asm/mpspec.h> | 8 | #include <asm/mpspec.h> |
9 | #include <asm/bitops.h> | 9 | #include <asm/bitops.h> |
@@ -37,7 +37,6 @@ static inline cpumask_t __pcibus_to_cpumask(int bus) | |||
37 | } | 37 | } |
38 | #define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus->number) | 38 | #define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus->number) |
39 | 39 | ||
40 | #ifdef CONFIG_NUMA | ||
41 | /* sched_domains SD_NODE_INIT for x86_64 machines */ | 40 | /* sched_domains SD_NODE_INIT for x86_64 machines */ |
42 | #define SD_NODE_INIT (struct sched_domain) { \ | 41 | #define SD_NODE_INIT (struct sched_domain) { \ |
43 | .span = CPU_MASK_NONE, \ | 42 | .span = CPU_MASK_NONE, \ |
@@ -59,7 +58,6 @@ static inline cpumask_t __pcibus_to_cpumask(int bus) | |||
59 | .balance_interval = 1, \ | 58 | .balance_interval = 1, \ |
60 | .nr_balance_failed = 0, \ | 59 | .nr_balance_failed = 0, \ |
61 | } | 60 | } |
62 | #endif | ||
63 | 61 | ||
64 | #endif | 62 | #endif |
65 | 63 | ||