diff mbox

acpi_battery_init() boot speed

Message ID alpine.LFD.2.00.1012150308260.4878@x980 (mailing list archive)
State New, archived
Headers show

Commit Message

Len Brown Dec. 15, 2010, 8:13 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 65b25a3..4658f61 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -271,7 +271,7 @@  acpi_os_map_memory(acpi_physical_address phys, acpi_size size)
 		/*
 		* ioremap checks to ensure this is in reserved space
 		*/
-		return ioremap((unsigned long)phys, size);
+		return ioremap_cache((unsigned long)phys, size);
 	else
 		return __acpi_map_table((unsigned long)phys, size);
 }