Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5584
b: refs/heads/master
c: 561fb76
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Linus Torvalds committed Aug 2, 2005
1 parent 56bcc2b commit ce7315d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ade43fbbcc3c12f0ddba112351d14d6c82ae476
refs/heads/master: 561fb765b97f287211a2c73a844c5edb12f44f1d
5 changes: 4 additions & 1 deletion trunk/include/asm-ppc64/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ static inline int node_to_first_cpu(int node)
return first_cpu(tmp);
}

#define pcibus_to_node(node) (-1)
#define pcibus_to_cpumask(bus) (cpu_online_map)

#define nr_cpus_node(node) (nr_cpus_in_node[node])
Expand All @@ -59,8 +60,10 @@ static inline int node_to_first_cpu(int node)
.nr_balance_failed = 0, \
}

#endif /* CONFIG_NUMA */
#else

#include <asm-generic/topology.h>

#endif /* CONFIG_NUMA */

#endif /* _ASM_PPC64_TOPOLOGY_H */

0 comments on commit ce7315d

Please sign in to comment.