aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
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 /arch/sparc
parentb966cd6b285d4cd6feaf8b06b21bc87adb907929 (diff)
downloadkernel_samsung_tuna-29c337a034b5526e80a785409d15d3b7c7edecf4.zip
kernel_samsung_tuna-29c337a034b5526e80a785409d15d3b7c7edecf4.tar.gz
kernel_samsung_tuna-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 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/topology_64.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h
index 26cd25c..75752e1 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -12,22 +12,8 @@ static inline int cpu_to_node(int cpu)
#define parent_node(node) (node)
-static inline cpumask_t node_to_cpumask(int node)
-{
- return numa_cpumask_lookup_table[node];
-}
#define cpumask_of_node(node) (&numa_cpumask_lookup_table[node])
-/*
- * Returns a pointer to the cpumask of CPUs on Node 'node'.
- * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)"
- */
-#define node_to_cpumask_ptr(v, node) \
- cpumask_t *v = &(numa_cpumask_lookup_table[node])
-
-#define node_to_cpumask_ptr_next(v, node) \
- v = &(numa_cpumask_lookup_table[node])
-
struct pci_bus;
#ifdef CONFIG_PCI
extern int pcibus_to_node(struct pci_bus *pbus);