1 #ifndef _ASM_X86_CPUMASK_H
2 #define _ASM_X86_CPUMASK_H
4 #include <linux/cpumask.h>
8 extern cpumask_var_t cpu_callin_mask;
9 extern cpumask_var_t cpu_callout_mask;
10 extern cpumask_var_t cpu_initialized_mask;
11 extern cpumask_var_t cpu_sibling_setup_mask;
13 #else /* CONFIG_X86_32 */
15 extern cpumask_t cpu_callin_map;
16 extern cpumask_t cpu_callout_map;
17 extern cpumask_t cpu_initialized;
18 extern cpumask_t cpu_sibling_setup_map;
20 #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map)
21 #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map)
22 #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized)
23 #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map)
25 #endif /* CONFIG_X86_32 */
27 #endif /* __ASSEMBLY__ */
28 #endif /* _ASM_X86_CPUMASK_H */