} }  /* quick sanity check */ printed = 0; for (i = 0; i < 256; i++) { if (cpus_empty(pci_bus_to_cpumask[i])) { pci_bus_to_cpumask[i] = CPU_MASK_ALL; if (printed) continue; printk(KERN_ERR "k8-bus.c: some busses have empty cpu mask\n"); printed = 1; 
fill_mp_bus_to_cpumask(void){	struct pci_dev *nb_dev = NULL;	int i, j, printed;	u32 ldtbus, nid;	static int lbnr[3] = {		LDT_BUS_NUMBER_REGISTER_0,		LDT_BUS_NUMBER_REGISTER_1,		LDT_BUS_NUMBER_REGISTER_2	};	while ((nb_dev = pci_get_device(PCI_VENDOR_ID_AMD,			PCI_DEVICE_ID_K8HTCONFIG, nb_dev))) {		pci_read_config_dword(nb_dev, NODE_ID_REGISTER, &nid);		for (i = 0; i < NR_LDT_BUS_NUMBER_REGISTERS; i++) {			pci_read_config_dword(nb_dev, lbnr[i], &ldtbus);			/*			 * if there are no busses hanging off of the current			 * ldt link then both the secondary and subordinate			 * bus number fields are set to 0.			 */			if (!(SECONDARY_LDT_BUS_NUMBER(ldtbus) == 0				&& SUBORDINATE_LDT_BUS_NUMBER(ldtbus) == 0)) {				for (j = SECONDARY_LDT_BUS_NUMBER(ldtbus);				     j <= SUBORDINATE_LDT_BUS_NUMBER(ldtbus);				     j++)					pci_bus_to_cpumask[j] =						node_to_cpumask(NODE_ID(nid));			}		}	}	/* quick sanity check */	printed = 0;	for (i = 0; i < 256; i++) {		if (cpus_empty(pci_bus_to_cpumask[i])) {			pci_bus_to_cpumask[i] = CPU_MASK_ALL;			if (printed)				continue;			printk(KERN_ERR			       "k8-bus.c: some busses have empty cpu mask\n");			printed = 1;		}	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8c5a09082f4e61a176382e96a831a0636b918602/k8-bus.c/clean/arch/x86_64/pci/k8-bus.c