aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/pci/acpi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c
index 14a63ed6fe09..546f18ad09f0 100644
--- a/arch/x86/pci/acpi.c
+++ b/arch/x86/pci/acpi.c
@@ -121,8 +121,10 @@ void __init pci_acpi_crs_quirks(void)
121{ 121{
122 int year; 122 int year;
123 123
124 if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008) 124 if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year < 2008) {
125 pci_use_crs = false; 125 if (iomem_resource.end <= 0xffffffff)
126 pci_use_crs = false;
127 }
126 128
127 dmi_check_system(pci_crs_quirks); 129 dmi_check_system(pci_crs_quirks);
128 130