Forráskód Böngészése

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 <len.brown@intel.com>
Len Brown 14 éve
szülő
commit
5b026c4e3a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      drivers/sfi/sfi_core.c

+ 1 - 1
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);
 }