---
 arch/ia64/include/asm/topology.h |    4 ++++
 1 file changed, 4 insertions(+)

diff -r 0638ba77bc0b arch/ia64/include/asm/topology.h
--- a/arch/ia64/include/asm/topology.h	Thu Nov 06 23:37:48 2008 +1100
+++ b/arch/ia64/include/asm/topology.h	Thu Nov 06 23:38:37 2008 +1100
@@ -122,6 +122,10 @@ extern void arch_fix_phys_package_id(int
 					node_to_cpumask(pcibus_to_node(bus)) \
 				)
 
+#define cpumask_for_pcibus(bus)	(pcibus_to_node(bus) == -1 ?		\
+				 cpu_mask_all :				\
+				 cpumask_from_node(pcibus_to_node(bus)))
+
 #include <asm-generic/topology.h>
 
 #endif /* _ASM_IA64_TOPOLOGY_H */
