aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-rw-r--r--arch/x86/include/asm/topology.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h
index 8dba76972fd..c00692476e9 100644
--- a/arch/x86/include/asm/topology.h
+++ b/arch/x86/include/asm/topology.h
@@ -93,18 +93,11 @@ extern void setup_node_to_cpumask_map(void);
93#define pcibus_to_node(bus) __pcibus_to_node(bus) 93#define pcibus_to_node(bus) __pcibus_to_node(bus)
94 94
95#ifdef CONFIG_X86_32 95#ifdef CONFIG_X86_32
96extern unsigned long node_start_pfn[];
97extern unsigned long node_end_pfn[];
98#define node_has_online_mem(nid) (node_start_pfn[nid] != node_end_pfn[nid])
99
100# define SD_CACHE_NICE_TRIES 1 96# define SD_CACHE_NICE_TRIES 1
101# define SD_IDLE_IDX 1 97# define SD_IDLE_IDX 1
102
103#else 98#else
104
105# define SD_CACHE_NICE_TRIES 2 99# define SD_CACHE_NICE_TRIES 2
106# define SD_IDLE_IDX 2 100# define SD_IDLE_IDX 2
107
108#endif 101#endif
109 102
110/* sched_domains SD_NODE_INIT for NUMA machines */ 103/* sched_domains SD_NODE_INIT for NUMA machines */