if (systemcfg->platform == PLATFORM_PSERIES_LPAR) { 
if (_machine == PLATFORM_PSERIES_LPAR) { 
rpaphp_pci_config_slot(struct pci_bus *bus){	struct device_node *dn = pci_bus_to_OF_node(bus);	struct pci_dev *dev = NULL;	int slotno;	int num;	dbg("Enter %s: dn=%s bus=%s\n", __FUNCTION__, dn->full_name, bus->name);	if (!dn || !dn->child)		return NULL;	if (systemcfg->platform == PLATFORM_PSERIES_LPAR) {		of_scan_bus(dn, bus);		if (list_empty(&bus->devices)) {			err("%s: No new device found\n", __FUNCTION__);			return NULL;		}		rpaphp_init_new_devs(bus);		pci_bus_add_devices(bus);		dev = list_entry(&bus->devices, struct pci_dev, bus_list);	} else {		slotno = PCI_SLOT(PCI_DN(dn->child)->devfn);		/* pci_scan_slot should find all children */		num = pci_scan_slot(bus, PCI_DEVFN(slotno, 0));		if (num) {			rpaphp_fixup_new_pci_devices(bus, 1);			pci_bus_add_devices(bus);		}		if (list_empty(&bus->devices)) {			err("%s: No new device found\n", __FUNCTION__);			return NULL;		}		list_for_each_entry(dev, &bus->devices, bus_list) {			if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)				rpaphp_pci_config_bridge(dev);			rpaphp_eeh_add_bus_device(bus);		}	}	return dev;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/89a071b80767c3a7ed56e13ae5e810f751b19eeb/rpaphp_pci.c/buggy/drivers/pci/hotplug/rpaphp_pci.c