2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-17 23:25:46 +08:00

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>
This commit is contained in:
Len Brown 2011-01-11 23:25:30 -05:00
parent 3c0eee3fe6
commit 5b026c4e3a

View 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);
}