projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c0eee3
)
SFI: use ioremap_cache() instead of ioremap()
author
Len Brown
<len.brown@intel.com>
Wed, 12 Jan 2011 04:25:30 +0000
(23:25 -0500)
committer
Len 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sfi/sfi_core.c
b/drivers/sfi/sfi_core.c
index ceba593dc84fbcb994f1fb4968cab3b4adf05b83..04113e5304a01c0827b817079be3b4d32a7fc029 100644
(file)
--- a/
drivers/sfi/sfi_core.c
+++ b/
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);
}