summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAlex Van Brunt <avanbrunt@nvidia.com>2014-05-09 16:04:46 -0700
committerRiham Haidar <rhaidar@nvidia.com>2014-05-27 14:22:47 -0700
commit444e521fa1a53d10d1100b18d46344cf82a5ed82 (patch)
treefbafdac901ad918ec03dabd082d1c3bec0a3c3a1 /fs
parentcce718d0b1613bf2bcaccd14ff0084de0342d39e (diff)
pstore: use writecombine instead of noncached
Bug 1512416 Change-Id: I9d1d651b146789d2ae8846ccddee72043b6198ee Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407830 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/pstore/ram_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/ram_core.c b/fs/pstore/ram_core.c
index abafb9b11fea..5b1f222b5044 100644
--- a/fs/pstore/ram_core.c
+++ b/fs/pstore/ram_core.c
@@ -363,7 +363,7 @@ static void *persistent_ram_vmap(phys_addr_t start, size_t size)
page_start = start - offset_in_page(start);
page_count = DIV_ROUND_UP(size + offset_in_page(start), PAGE_SIZE);
- prot = pgprot_noncached(PAGE_KERNEL);
+ prot = pgprot_writecombine(PAGE_KERNEL);
pages = kmalloc(sizeof(struct page *) * page_count, GFP_KERNEL);
if (!pages) {