diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 00:19:57 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 00:19:57 -0400 |
commit | 73e907de7d5cecef43d9949ab8f4fdca508168c7 (patch) | |
tree | f1e623cbc0685cd8e36ba7d4ee75fd2c5191db15 /arch/x86/include/asm/topology.h | |
parent | 76ba0ecda0de9accea9a91cb6dbde46782110e1c (diff) |
cpumask: remove x86 cpumask_t uses.
Impact: cleanup
We are removing cpumask_t in favour of struct cpumask: mainly as a
marker of what code is now CONFIG_CPUMASK_OFFSTACK-safe.
The only non-trivial change here is vector_allocation_domain():
explicitly clear the mask and set the first word, rather than using
assignment.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/include/asm/topology.h')
-rw-r--r-- | arch/x86/include/asm/topology.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 1ce1e1afa801..e3f4198371a9 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -89,7 +89,7 @@ static inline int early_cpu_to_node(int cpu) | |||
89 | extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; | 89 | extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; |
90 | 90 | ||
91 | #ifdef CONFIG_DEBUG_PER_CPU_MAPS | 91 | #ifdef CONFIG_DEBUG_PER_CPU_MAPS |
92 | extern const cpumask_t *cpumask_of_node(int node); | 92 | extern const struct cpumask *cpumask_of_node(int node); |
93 | #else | 93 | #else |
94 | /* Returns a pointer to the cpumask of CPUs on Node 'node'. */ | 94 | /* Returns a pointer to the cpumask of CPUs on Node 'node'. */ |
95 | static inline const struct cpumask *cpumask_of_node(int node) | 95 | static inline const struct cpumask *cpumask_of_node(int node) |
@@ -172,7 +172,7 @@ static inline int early_cpu_to_node(int cpu) | |||
172 | return 0; | 172 | return 0; |
173 | } | 173 | } |
174 | 174 | ||
175 | static inline const cpumask_t *cpumask_of_node(int node) | 175 | static inline const struct cpumask *cpumask_of_node(int node) |
176 | { | 176 | { |
177 | return cpu_online_mask; | 177 | return cpu_online_mask; |
178 | } | 178 | } |