git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 2.0 rc7
[linux-2.6.git]
/
include
/
asm-x86_64
/
topology.h
diff --git
a/include/asm-x86_64/topology.h
b/include/asm-x86_64/topology.h
index
c5fea18
..
67f24e0
100644
(file)
--- a/
include/asm-x86_64/topology.h
+++ b/
include/asm-x86_64/topology.h
@@
-35,8
+35,7
@@
static inline cpumask_t __pcibus_to_cpumask(int bus)
cpus_and(res, busmask, online);
return res;
}
cpus_and(res, busmask, online);
return res;
}
-/* broken generic file uses #ifndef later on this */
-#define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus)
+#define pcibus_to_cpumask(bus) __pcibus_to_cpumask(bus->number)
#ifdef CONFIG_NUMA
/* sched_domains SD_NODE_INIT for x86_64 machines */
#ifdef CONFIG_NUMA
/* sched_domains SD_NODE_INIT for x86_64 machines */