X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Ftopology.h;h=67f24e0ea819f4168b3a230094df305028d518b7;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=c5fea186bdf2823ccbdb876e65bcfcbc83003325;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/include/asm-x86_64/topology.h b/include/asm-x86_64/topology.h index c5fea186b..67f24e0ea 100644 --- 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; } -/* 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 */