summaryrefslogtreecommitdiff
path: root/include/asm-generic/topology.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-31 08:05:11 +0400
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 15:35:12 +0400
commit0451fb2ebc4f65c265bb51d71a2fc986ebf20218 (patch)
tree6851f5645cd53d9c243b048919ca2a5683e97a64 /include/asm-generic/topology.h
parentaf76aba00fdcfb21535c9f9872245d14097a4561 (diff)
downloadlinux-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.xz
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 'include/asm-generic/topology.h')
-rw-r--r--include/asm-generic/topology.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h
index 0e9e2bc0ee96..47766b30061a 100644
--- a/include/asm-generic/topology.h
+++ b/include/asm-generic/topology.h
@@ -43,9 +43,6 @@
#ifndef cpumask_of_node
#define cpumask_of_node(node) ((void)node, cpu_online_mask)
#endif
-#ifndef node_to_first_cpu
-#define node_to_first_cpu(node) ((void)(node),0)
-#endif
#ifndef pcibus_to_node
#define pcibus_to_node(bus) ((void)(bus), -1)
#endif