|
@@ -21,15 +21,6 @@
|
|
|
extern int smp_num_siblings;
|
|
|
extern unsigned int num_processors;
|
|
|
|
|
|
-static inline bool cpu_has_ht_siblings(void)
|
|
|
-{
|
|
|
- bool has_siblings = false;
|
|
|
-#ifdef CONFIG_SMP
|
|
|
- has_siblings = cpu_has_ht && smp_num_siblings > 1;
|
|
|
-#endif
|
|
|
- return has_siblings;
|
|
|
-}
|
|
|
-
|
|
|
DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_sibling_map);
|
|
|
DECLARE_PER_CPU_READ_MOSTLY(cpumask_var_t, cpu_core_map);
|
|
|
/* cpus sharing the last level cache: */
|