Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 1 | #ifndef _ASM_X86_CPUMASK_H |
| 2 | #define _ASM_X86_CPUMASK_H |
| 3 | #ifndef __ASSEMBLY__ |
| 4 | #include <linux/cpumask.h> |
| 5 | |
| 6 | #ifdef CONFIG_X86_64 |
| 7 | |
| 8 | extern cpumask_var_t cpu_callin_mask; |
Jaswinder Singh Rajput | fb8fd07 | 2009-01-10 12:20:24 +0530 | [diff] [blame] | 9 | extern cpumask_var_t cpu_callout_mask; |
Jaswinder Singh Rajput | 493f6ca | 2009-01-10 12:48:22 +0530 | [diff] [blame] | 10 | extern cpumask_var_t cpu_initialized_mask; |
Jaswinder Singh Rajput | 52811d8 | 2009-01-10 12:58:50 +0530 | [diff] [blame^] | 11 | extern cpumask_var_t cpu_sibling_setup_mask; |
Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 12 | |
| 13 | #else /* CONFIG_X86_32 */ |
| 14 | |
| 15 | extern cpumask_t cpu_callin_map; |
Jaswinder Singh Rajput | fb8fd07 | 2009-01-10 12:20:24 +0530 | [diff] [blame] | 16 | extern cpumask_t cpu_callout_map; |
Jaswinder Singh Rajput | 493f6ca | 2009-01-10 12:48:22 +0530 | [diff] [blame] | 17 | extern cpumask_t cpu_initialized; |
Jaswinder Singh Rajput | 52811d8 | 2009-01-10 12:58:50 +0530 | [diff] [blame^] | 18 | extern cpumask_t cpu_sibling_setup_map; |
Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 19 | |
| 20 | #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map) |
Jaswinder Singh Rajput | fb8fd07 | 2009-01-10 12:20:24 +0530 | [diff] [blame] | 21 | #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map) |
Jaswinder Singh Rajput | 493f6ca | 2009-01-10 12:48:22 +0530 | [diff] [blame] | 22 | #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) |
Jaswinder Singh Rajput | 52811d8 | 2009-01-10 12:58:50 +0530 | [diff] [blame^] | 23 | #define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map) |
Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 24 | |
| 25 | #endif /* CONFIG_X86_32 */ |
| 26 | |
| 27 | #endif /* __ASSEMBLY__ */ |
| 28 | #endif /* _ASM_X86_CPUMASK_H */ |