diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:11 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 22:05:12 +1030 |
commit | 0451fb2ebc4f65c265bb51d71a2fc986ebf20218 (patch) | |
tree | 6851f5645cd53d9c243b048919ca2a5683e97a64 /arch/powerpc/include/asm/topology.h | |
parent | af76aba00fdcfb21535c9f9872245d14097a4561 (diff) | |
download | blackbird-op-linux-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.gz blackbird-op-linux-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/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index 375258559ae6..054a16d68082 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h @@ -24,11 +24,6 @@ static inline cpumask_t node_to_cpumask(int node) #define cpumask_of_node(node) (&numa_cpumask_lookup_table[node]) -static inline int node_to_first_cpu(int node) -{ - return cpumask_first(cpumask_of_node(node)); -} - int of_node_to_nid(struct device_node *device); struct pci_bus; |