blob: 26c6dad90479119f369aa5466464d15eb2b695c4 [file] [log] [blame]
Jaswinder Singh Rajput06879032009-01-10 12:17:37 +05301#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
8extern cpumask_var_t cpu_callin_mask;
Jaswinder Singh Rajputfb8fd072009-01-10 12:20:24 +05309extern cpumask_var_t cpu_callout_mask;
Jaswinder Singh Rajput493f6ca2009-01-10 12:48:22 +053010extern cpumask_var_t cpu_initialized_mask;
Jaswinder Singh Rajput52811d82009-01-10 12:58:50 +053011extern cpumask_var_t cpu_sibling_setup_mask;
Jaswinder Singh Rajput06879032009-01-10 12:17:37 +053012
13#else /* CONFIG_X86_32 */
14
15extern cpumask_t cpu_callin_map;
Jaswinder Singh Rajputfb8fd072009-01-10 12:20:24 +053016extern cpumask_t cpu_callout_map;
Jaswinder Singh Rajput493f6ca2009-01-10 12:48:22 +053017extern cpumask_t cpu_initialized;
Jaswinder Singh Rajput52811d82009-01-10 12:58:50 +053018extern cpumask_t cpu_sibling_setup_map;
Jaswinder Singh Rajput06879032009-01-10 12:17:37 +053019
20#define cpu_callin_mask ((struct cpumask *)&cpu_callin_map)
Jaswinder Singh Rajputfb8fd072009-01-10 12:20:24 +053021#define cpu_callout_mask ((struct cpumask *)&cpu_callout_map)
Jaswinder Singh Rajput493f6ca2009-01-10 12:48:22 +053022#define cpu_initialized_mask ((struct cpumask *)&cpu_initialized)
Jaswinder Singh Rajput52811d82009-01-10 12:58:50 +053023#define cpu_sibling_setup_mask ((struct cpumask *)&cpu_sibling_setup_map)
Jaswinder Singh Rajput06879032009-01-10 12:17:37 +053024
25#endif /* CONFIG_X86_32 */
26
27#endif /* __ASSEMBLY__ */
28#endif /* _ASM_X86_CPUMASK_H */