Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125346
b: refs/heads/master
c: f0b848c
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Dec 13, 2008
1 parent 86eb855 commit 81fe4a2
Show file tree
Hide file tree
Showing 2 changed files with 14 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: aab46da0520af9c99b7802cebe4f14a81ff39415
refs/heads/master: f0b848ce6fe9062d504d997e9e97fe0f87d57217
14 changes: 13 additions & 1 deletion trunk/include/asm-generic/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
#ifndef node_to_cpumask
#define node_to_cpumask(node) ((void)node, cpu_online_map)
#endif
#ifndef cpumask_of_node
#define cpumask_of_node(node) ((void)node, cpu_online_mask)
#endif
#ifndef node_to_first_cpu
#define node_to_first_cpu(node) ((void)(node),0)
#endif
Expand All @@ -54,9 +57,18 @@
)
#endif

#ifndef cpumask_of_pcibus
#define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \
cpu_all_mask : \
cpumask_of_node(pcibus_to_node(bus)))
#endif

#endif /* CONFIG_NUMA */

/* returns pointer to cpumask for specified node */
/*
* returns pointer to cpumask for specified node
* Deprecated: use "const struct cpumask *mask = cpumask_of_node(node)"
*/
#ifndef node_to_cpumask_ptr

#define node_to_cpumask_ptr(v, node) \
Expand Down

0 comments on commit 81fe4a2

Please sign in to comment.