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 ceba593dc84fbcb994f1fb4968cab3b4adf05b83..04113e5304a01c0827b817079be3b4d32a7fc029 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);
 }
This page took 0.024844 seconds and 5 git commands to generate.