SFI: use ioremap_cache() instead of ioremap()
authorLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 04:25:30 +0000 (23:25 -0500)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 04:27:25 +0000 (23:27 -0500)
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 <len.brown@intel.com>

drivers/sfi/sfi_core.c

index ceba593..04113e5 100644 (file)
@@ -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);
 }