From: Len Brown Date: Wed, 12 Jan 2011 04:25:30 +0000 (-0500) Subject: SFI: use ioremap_cache() instead of ioremap() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5b026c4e3af52fda22c9313a3388344f82f3ba15;p=linux-beck.git SFI: use ioremap_cache() instead of ioremap() We copied ACPI's oversight of using ioremap() and creating non-cached table mappings when we should have been using ioremap_cache(). Signed-off-by: Len Brown --- diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c index ceba593dc84f..04113e5304a0 100644 --- a/drivers/sfi/sfi_core.c +++ b/drivers/sfi/sfi_core.c @@ -101,7 +101,7 @@ static void __iomem * __ref sfi_map_memory(u64 phys, u32 size) return NULL; if (sfi_use_ioremap) - return ioremap(phys, size); + return ioremap_cache(phys, size); else return early_ioremap(phys, size); }