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 /arch/sparc | |
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 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/topology_64.h | 14 |
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 26cd25c08399..75752e106f47 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) | |||
12 | 12 | ||
13 | #define parent_node(node) (node) | 13 | #define parent_node(node) (node) |
14 | 14 | ||
15 | static inline cpumask_t node_to_cpumask(int node) | ||
16 | { | ||
17 | return numa_cpumask_lookup_table[node]; | ||
18 | } | ||
19 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) | 15 | #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) |
20 | 16 | ||
21 | /* | ||
22 | * Returns a pointer to the cpumask of CPUs on Node 'node'. | ||
23 | * Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)" | ||
24 | */ | ||
25 | #define node_to_cpumask_ptr(v, node) \ | ||
26 | cpumask_t *v = &(numa_cpumask_lookup_table[node]) | ||
27 | |||
28 | #define node_to_cpumask_ptr_next(v, node) \ | ||
29 | v = &(numa_cpumask_lookup_table[node]) | ||
30 | |||
31 | struct pci_bus; | 17 | struct pci_bus; |
32 | #ifdef CONFIG_PCI | 18 | #ifdef CONFIG_PCI |
33 | extern int pcibus_to_node(struct pci_bus *pbus); | 19 | extern int pcibus_to_node(struct pci_bus *pbus); |