summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:11 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:12 +1030
commit0451fb2ebc4f65c265bb51d71a2fc986ebf20218 (patch)
tree6851f5645cd53d9c243b048919ca2a5683e97a64 /arch/sparc
parentaf76aba00fdcfb21535c9f9872245d14097a4561 (diff)
downloadlinux-stable-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.gz
linux-stable-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.bz2
linux-stable-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.zip
cpumask: remove node_to_first_cpu
Everyone defines it, and only one person uses it (arch/mips/sgi-ip27/ip27-nmi.c). So just open code it there. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/topology_64.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h
index 5bc0b8fd6374..2770f64fdc3b 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -28,11 +28,6 @@ static inline cpumask_t node_to_cpumask(int node)
#define node_to_cpumask_ptr_next(v, node) \
v = &(numa_cpumask_lookup_table[node])
-static inline int node_to_first_cpu(int node)
-{
- return cpumask_first(cpumask_of_node(node));
-}
-
struct pci_bus;
#ifdef CONFIG_PCI
extern int pcibus_to_node(struct pci_bus *pbus);