summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/topology.h
diff options
context:
space:
mode:
authorRusty Russell2009-03-31 06:05:11 +0200
committerRusty Russell2009-03-30 13:35:12 +0200
commit0451fb2ebc4f65c265bb51d71a2fc986ebf20218 (patch)
tree6851f5645cd53d9c243b048919ca2a5683e97a64 /arch/ia64/include/asm/topology.h
parentcpumask: fix seq_bitmap_*() functions. (diff)
downloadkernel-qcow2-linux-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.gz
kernel-qcow2-linux-0451fb2ebc4f65c265bb51d71a2fc986ebf20218.tar.xz
kernel-qcow2-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/ia64/include/asm/topology.h')
-rw-r--r--arch/ia64/include/asm/topology.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h
index 3193f4417e16..f260dcf21515 100644
--- a/arch/ia64/include/asm/topology.h
+++ b/arch/ia64/include/asm/topology.h
@@ -44,11 +44,6 @@
#define parent_node(nid) (nid)
/*
- * Returns the number of the first CPU on Node 'node'.
- */
-#define node_to_first_cpu(node) (cpumask_first(cpumask_of_node(node)))
-
-/*
* Determines the node for a given pci bus
*/
#define pcibus_to_node(bus) PCI_CONTROLLER(bus)->node