106879033SJaswinder Singh Rajput #ifndef _ASM_X86_CPUMASK_H 206879033SJaswinder Singh Rajput #define _ASM_X86_CPUMASK_H 306879033SJaswinder Singh Rajput #ifndef __ASSEMBLY__ 406879033SJaswinder Singh Rajput #include <linux/cpumask.h> 506879033SJaswinder Singh Rajput 606879033SJaswinder Singh Rajput #ifdef CONFIG_X86_64 706879033SJaswinder Singh Rajput 806879033SJaswinder Singh Rajput extern cpumask_var_t cpu_callin_mask; 9fb8fd077SJaswinder Singh Rajput extern cpumask_var_t cpu_callout_mask; 10493f6ca5SJaswinder Singh Rajput extern cpumask_var_t cpu_initialized_mask; 1152811d8cSJaswinder Singh Rajput extern cpumask_var_t cpu_sibling_setup_mask; 1206879033SJaswinder Singh Rajput 1306879033SJaswinder Singh Rajput #else /* CONFIG_X86_32 */ 1406879033SJaswinder Singh Rajput 1506879033SJaswinder Singh Rajput extern cpumask_t cpu_callin_map; 16fb8fd077SJaswinder Singh Rajput extern cpumask_t cpu_callout_map; 17493f6ca5SJaswinder Singh Rajput extern cpumask_t cpu_initialized; 1852811d8cSJaswinder Singh Rajput extern cpumask_t cpu_sibling_setup_map; 1906879033SJaswinder Singh Rajput 2006879033SJaswinder Singh Rajput #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map) 21fb8fd077SJaswinder Singh Rajput #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map) 22493f6ca5SJaswinder Singh Rajput #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) 2352811d8cSJaswinder Singh Rajput #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map) 2406879033SJaswinder Singh Rajput 2506879033SJaswinder Singh Rajput #endif /* CONFIG_X86_32 */ 2606879033SJaswinder Singh Rajput 2706879033SJaswinder Singh Rajput #endif /* __ASSEMBLY__ */ 2806879033SJaswinder Singh Rajput #endif /* _ASM_X86_CPUMASK_H */ 29