diff options
author | Len Brown <len.brown@intel.com> | 2011-01-11 23:25:30 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-11 23:27:25 -0500 |
commit | 5b026c4e3af52fda22c9313a3388344f82f3ba15 (patch) | |
tree | 5a8e834ce3d1c2e32a963f08efee9e3d4fc8e0d8 /drivers/sfi | |
parent | 3c0eee3fe6a3a1c745379547c7e7c904aa64f6d5 (diff) |
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>
Diffstat (limited to 'drivers/sfi')
-rw-r--r-- | drivers/sfi/sfi_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c index ceba593dc84f..04113e5304a0 100644 --- 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) | |||
101 | return NULL; | 101 | return NULL; |
102 | 102 | ||
103 | if (sfi_use_ioremap) | 103 | if (sfi_use_ioremap) |
104 | return ioremap(phys, size); | 104 | return ioremap_cache(phys, size); |
105 | else | 105 | else |
106 | return early_ioremap(phys, size); | 106 | return early_ioremap(phys, size); |
107 | } | 107 | } |