summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/topology.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:26 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-09-24 09:34:34 +0930
commit29c337a034b5526e80a785409d15d3b7c7edecf4 (patch)
tree0fb68fdaa8ad12024181a1b7a8a2bc7b142a6dbf /include/asm-generic/topology.h
parentb966cd6b285d4cd6feaf8b06b21bc87adb907929 (diff)
downloadlinux-29c337a034b5526e80a785409d15d3b7c7edecf4.tar.bz2
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/topology.h')
-rw-r--r--include/asm-generic/topology.h17
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 @@
#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 */