aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/topology.h')
-rw-r--r--include/asm-i386/topology.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-i386/topology.h b/include/asm-i386/topology.h
index aa4185ee81f..6adbd9b1ae8 100644
--- a/include/asm-i386/topology.h
+++ b/include/asm-i386/topology.h
@@ -112,4 +112,9 @@ extern unsigned long node_remap_size[];
extern cpumask_t cpu_coregroup_map(int cpu);
+#ifdef CONFIG_SMP
+#define mc_capable() (boot_cpu_data.x86_max_cores > 1)
+#define smt_capable() (smp_num_siblings > 1)
+#endif
+
#endif /* _ASM_I386_TOPOLOGY_H */