From 444e521fa1a53d10d1100b18d46344cf82a5ed82 Mon Sep 17 00:00:00 2001 From: Alex Van Brunt Date: Fri, 9 May 2014 16:04:46 -0700 Subject: pstore: use writecombine instead of noncached Bug 1512416 Change-Id: I9d1d651b146789d2ae8846ccddee72043b6198ee Signed-off-by: Alex Van Brunt Reviewed-on: http://git-master/r/407830 Reviewed-by: Riham Haidar Tested-by: Riham Haidar --- fs/pstore/ram_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') 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) { -- cgit v1.2.3