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 | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 11 | |
| 12 | #else /* CONFIG_X86_32 */ |
| 13 | |
| 14 | extern cpumask_t cpu_callin_map; |
Jaswinder Singh Rajput | fb8fd07 | 2009-01-10 12:20:24 +0530 | [diff] [blame] | 15 | extern cpumask_t cpu_callout_map; |
Jaswinder Singh Rajput | 493f6ca | 2009-01-10 12:48:22 +0530 | [diff] [blame^] | 16 | extern cpumask_t cpu_initialized; |
Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 17 | |
| 18 | #define cpu_callin_mask ((struct cpumask *)&cpu_callin_map) |
Jaswinder Singh Rajput | fb8fd07 | 2009-01-10 12:20:24 +0530 | [diff] [blame] | 19 | #define cpu_callout_mask ((struct cpumask *)&cpu_callout_map) |
Jaswinder Singh Rajput | 493f6ca | 2009-01-10 12:48:22 +0530 | [diff] [blame^] | 20 | #define cpu_initialized_mask ((struct cpumask *)&cpu_initialized) |
Jaswinder Singh Rajput | 0687903 | 2009-01-10 12:17:37 +0530 | [diff] [blame] | 21 | |
| 22 | #endif /* CONFIG_X86_32 */ |
| 23 | |
| 24 | #endif /* __ASSEMBLY__ */ |
| 25 | #endif /* _ASM_X86_CPUMASK_H */ |