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/mm/numa.c | |
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/mm/numa.c')
-rw-r--r-- | arch/x86/mm/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 429dc2d191fd..ce255e32a593 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c | |||
@@ -45,7 +45,7 @@ void __init setup_node_to_cpumask_map(void) | |||
45 | /* | 45 | /* |
46 | * Returns a pointer to the bitmask of CPUs on Node 'node'. | 46 | * Returns a pointer to the bitmask of CPUs on Node 'node'. |
47 | */ | 47 | */ |
48 | const cpumask_t *cpumask_of_node(int node) | 48 | const struct cpumask *cpumask_of_node(int node) |
49 | { | 49 | { |
50 | if (node >= nr_node_ids) { | 50 | if (node >= nr_node_ids) { |
51 | printk(KERN_WARNING | 51 | printk(KERN_WARNING |