Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96296
b: refs/heads/master
c: 1e0f50a
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed May 8, 2008
1 parent 328e2f0 commit f0be550
Show file tree
Hide file tree
Showing 2 changed files with 12 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: 4370fe1c06ffa251b63b12a41e2599037a4b7f87
refs/heads/master: 1e0f50ae11ab5838009994a3266accc1319c90d9
11 changes: 11 additions & 0 deletions trunk/include/asm-sh/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
.nr_balance_failed = 0, \
}

#define cpu_to_node(cpu) ((void)(cpu),0)
#define parent_node(node) ((void)(node),0)

#define node_to_cpumask(node) ((void)node, cpu_online_map)
#define node_to_first_cpu(node) ((void)(node),0)

#define pcibus_to_node(bus) ((void)(bus), -1)
#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \
CPU_MASK_ALL : \
node_to_cpumask(pcibus_to_node(bus)) \
)
#endif

#include <asm-generic/topology.h>
Expand Down

0 comments on commit f0be550

Please sign in to comment.