Message ID | 1381493941-4650-2-git-send-email-tianyu.lan@intel.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show |
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c index b7201fc..929f416 100644 --- a/drivers/acpi/resource.c +++ b/drivers/acpi/resource.c @@ -202,6 +202,9 @@ bool acpi_dev_resource_address_space(struct acpi_resource *ares, res->flags = acpi_dev_memresource_flags(len, addr.info.mem.write_protect, window); + + if (addr.info.mem.caching == ACPI_PREFETCHABLE_MEMORY) + res->flags |= IORESOURCE_PREFETCH; break; case ACPI_IO_RANGE: io_decode = addr.granularity == 0xfff ?