summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorAnton Blanchard2005-11-11 04:13:20 +0100
committerPaul Mackerras2005-11-11 12:20:57 +0100
commit3e66c4def14aa64ee6d1d4ef077d789abc30125d (patch)
tree76787962cb442e7f7f38990d7460ac8e888dd355 /include/asm-powerpc
parent[PATCH] ppc64: prep for NUMA sparsemem rework (diff)
downloadkernel-qcow2-linux-3e66c4def14aa64ee6d1d4ef077d789abc30125d.tar.gz
kernel-qcow2-linux-3e66c4def14aa64ee6d1d4ef077d789abc30125d.tar.xz
kernel-qcow2-linux-3e66c4def14aa64ee6d1d4ef077d789abc30125d.zip
[PATCH] ppc64: prep for NUMA sparsemem rework 2
Remove ppc64 specific version of nr_cpus_node and use the generic one provided. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/topology.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-powerpc/topology.h b/include/asm-powerpc/topology.h
index 2512e3836bf4..388cc9f1277f 100644
--- a/include/asm-powerpc/topology.h
+++ b/include/asm-powerpc/topology.h
@@ -37,8 +37,6 @@ static inline int node_to_first_cpu(int node)
#define pcibus_to_node(node) (-1)
#define pcibus_to_cpumask(bus) (cpu_online_map)
-#define nr_cpus_node(node) (nr_cpus_in_node[node])
-
/* sched_domains SD_NODE_INIT for PPC64 machines */
#define SD_NODE_INIT (struct sched_domain) { \
.span = CPU_MASK_NONE, \