projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93423b8
)
sparc64: Fix cpumask related build failure
author
David Miller
<davem@davemloft.net>
Sun, 11 Jan 2009 12:06:40 +0000
(
04:06
-0800)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 11 Jan 2009 14:33:24 +0000
(15:33 +0100)
cpumask_of_pcibus() was missing - this triggers on NUMA builds.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/sparc/include/asm/topology_64.h
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/topology_64.h
b/arch/sparc/include/asm/topology_64.h
index
b8a65b6
..
5bc0b8f
100644
(file)
--- a/
arch/sparc/include/asm/topology_64.h
+++ b/
arch/sparc/include/asm/topology_64.h
@@
-47,6
+47,10
@@
static inline int pcibus_to_node(struct pci_bus *pbus)
(pcibus_to_node(bus) == -1 ? \
CPU_MASK_ALL : \
node_to_cpumask(pcibus_to_node(bus)))
+#define cpumask_of_pcibus(bus) \
+ (pcibus_to_node(bus) == -1 ? \
+ CPU_MASK_ALL_PTR : \
+ cpumask_of_node(pcibus_to_node(bus)))
#define SD_NODE_INIT (struct sched_domain) { \
.min_interval = 8, \