|
@@ -111,13 +111,6 @@ static int __init pci_mmcfg_init(void)
|
|
(pci_mmcfg_config[0].base_address == 0))
|
|
(pci_mmcfg_config[0].base_address == 0))
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- /* Kludge for now. Don't use mmconfig on AMD systems because
|
|
|
|
- those have some busses where mmconfig doesn't work,
|
|
|
|
- and we don't parse ACPI MCFG well enough to handle that.
|
|
|
|
- Remove when proper handling is added. */
|
|
|
|
- if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
|
|
|
|
- return 0;
|
|
|
|
-
|
|
|
|
/* RED-PEN i386 doesn't do _nocache right now */
|
|
/* RED-PEN i386 doesn't do _nocache right now */
|
|
pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL);
|
|
pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL);
|
|
if (pci_mmcfg_virt == NULL) {
|
|
if (pci_mmcfg_virt == NULL) {
|