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