Skip to content

Commit

Permalink
SFI: use ioremap_cache() instead of ioremap()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
lenb committed Jan 12, 2011
1 parent 3c0eee3 commit 5b026c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sfi/sfi_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5b026c4

Please sign in to comment.