diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 09:34:26 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 09:34:34 +0930 |
commit | 29c337a034b5526e80a785409d15d3b7c7edecf4 (patch) | |
tree | 0fb68fdaa8ad12024181a1b7a8a2bc7b142a6dbf /include | |
parent | b966cd6b285d4cd6feaf8b06b21bc87adb907929 (diff) | |
download | linux-3.10-29c337a034b5526e80a785409d15d3b7c7edecf4.tar.gz linux-3.10-29c337a034b5526e80a785409d15d3b7c7edecf4.tar.bz2 linux-3.10-29c337a034b5526e80a785409d15d3b7c7edecf4.zip |
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')
-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 88bada2ebc4..510df36dd5d 100644 --- a/include/asm-generic/topology.h +++ b/include/asm-generic/topology.h @@ -37,9 +37,6 @@ #ifndef parent_node #define parent_node(node) ((void)(node),0) #endif -#ifndef node_to_cpumask -#define node_to_cpumask(node) ((void)node, cpu_online_map) -#endif #ifndef cpumask_of_node #define cpumask_of_node(node) ((void)node, cpu_online_mask) #endif @@ -55,18 +52,4 @@ #endif /* CONFIG_NUMA */ -/* - * returns pointer to cpumask for specified node - * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" - */ -#ifndef node_to_cpumask_ptr - -#define node_to_cpumask_ptr(v, node) \ - cpumask_t _##v = node_to_cpumask(node); \ - const cpumask_t *v = &_##v - -#define node_to_cpumask_ptr_next(v, node) \ - _##v = node_to_cpumask(node) -#endif - #endif /* _ASM_GENERIC_TOPOLOGY_H */ |