提交 5b026c4e 编写于 作者: L Len Brown

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: NLen Brown <len.brown@intel.com>
上级 3c0eee3f
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册