diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 11:34:26 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 20:04:34 -0400 |
commit | 29c337a034b5526e80a785409d15d3b7c7edecf4 (patch) | |
tree | 0fb68fdaa8ad12024181a1b7a8a2bc7b142a6dbf /include/asm-generic | |
parent | b966cd6b285d4cd6feaf8b06b21bc87adb907929 (diff) |
cpumask: remove obsolete node_to_cpumask now everyone uses cpumask_of_node
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/topology.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h index 88bada2ebc4b..510df36dd5d4 100644 --- a/include/asm-generic/topology.h +++ b/include/asm-generic/topology.h | |||
@@ -37,9 +37,6 @@ | |||
37 | #ifndef parent_node | 37 | #ifndef parent_node |
38 | #define parent_node(node) ((void)(node),0) | 38 | #define parent_node(node) ((void)(node),0) |
39 | #endif | 39 | #endif |
40 | #ifndef node_to_cpumask | ||
41 | #define node_to_cpumask(node) ((void)node, cpu_online_map) | ||
42 | #endif | ||
43 | #ifndef cpumask_of_node | 40 | #ifndef cpumask_of_node |
44 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) | 41 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) |
45 | #endif | 42 | #endif |
@@ -55,18 +52,4 @@ | |||
55 | 52 | ||
56 | #endif /* CONFIG_NUMA */ | 53 | #endif /* CONFIG_NUMA */ |
57 | 54 | ||
58 | /* | ||
59 | * returns pointer to cpumask for specified node | ||
60 | * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" | ||
61 | */ | ||
62 | #ifndef node_to_cpumask_ptr | ||
63 | |||
64 | #define node_to_cpumask_ptr(v, node) \ | ||
65 | cpumask_t _##v = node_to_cpumask(node); \ | ||
66 | const cpumask_t *v = &_##v | ||
67 | |||
68 | #define node_to_cpumask_ptr_next(v, node) \ | ||
69 | _##v = node_to_cpumask(node) | ||
70 | #endif | ||
71 | |||
72 | #endif /* _ASM_GENERIC_TOPOLOGY_H */ | 55 | #endif /* _ASM_GENERIC_TOPOLOGY_H */ |