commit fac11d4f966fbf965b2047579074cf10ea53d2b8 Author: Bjorn Helgaas Date: Thu Dec 8 20:16:13 2011 -0700 diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index a848fad..5eed74c 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -318,8 +318,8 @@ static __devinit acpi_status add_window(struct acpi_resource *res, void *data) /* HP's firmware has a hack to work around a Windows bug. * Ignore these tiny memory ranges */ - if (!((res->flags & IORESOURCE_MEM) && - (res->end - res->start < 16))) + if (!((window->resource.flags & IORESOURCE_MEM) && + (window->resource.end - window->resource.start < 16))) pci_add_resource(&info->resources, &window->resource); return AE_OK;