diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 00:05:11 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-30 07:35:12 -0400 |
commit | 0451fb2ebc4f65c265bb51d71a2fc986ebf20218 (patch) | |
tree | 6851f5645cd53d9c243b048919ca2a5683e97a64 /include/asm-generic/topology.h | |
parent | af76aba00fdcfb21535c9f9872245d14097a4561 (diff) |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h index 0e9e2bc0ee9..47766b30061 100644 --- a/include/asm-generic/topology.h +++ b/include/asm-generic/topology.h | |||
@@ -43,9 +43,6 @@ | |||
43 | #ifndef cpumask_of_node | 43 | #ifndef cpumask_of_node |
44 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) | 44 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) |
45 | #endif | 45 | #endif |
46 | #ifndef node_to_first_cpu | ||
47 | #define node_to_first_cpu(node) ((void)(node),0) | ||
48 | #endif | ||
49 | #ifndef pcibus_to_node | 46 | #ifndef pcibus_to_node |
50 | #define pcibus_to_node(bus) ((void)(bus), -1) | 47 | #define pcibus_to_node(bus) ((void)(bus), -1) |
51 | #endif | 48 | #endif |