Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28737
b: refs/heads/master
c: 318facb
h: refs/heads/master
i:
  28735: 054ad9b
v: v3
  • Loading branch information
Christoph Hellwig authored and Paul Mackerras committed Jun 9, 2006
1 parent 470ca53 commit 0be6b38
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 507279db1819aacf4022e790b3fc8bc8cf56debf
refs/heads/master: 318facbee05417fb432603a8309a10cdb942a87b
5 changes: 5 additions & 0 deletions trunk/include/asm-powerpc/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ static inline int node_to_first_cpu(int node)

int of_node_to_nid(struct device_node *device);

#ifdef CONFIG_PPC64
#define pcibus_to_node(bus) (of_node_to_nid(bus->sysdata))
#define pcibus_to_cpumask(bus) (node_to_cpumask(of_node_to_nid(bus->sysdata)))
#else
#define pcibus_to_node(node) (-1)
#define pcibus_to_cpumask(bus) (cpu_online_map)
#endif

/* sched_domains SD_NODE_INIT for PPC64 machines */
#define SD_NODE_INIT (struct sched_domain) { \
Expand Down

0 comments on commit 0be6b38

Please sign in to comment.