Commit 0fc73099 authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King

ARM: 6378/1: Allow lazy cache flushing via PG_arch_1 for highmem pages

Commit d73cd428 forced non-lazy cache flushing of highmem pages in
flush_dcache_page(). This isn't needed since __flush_dcache_page()
(called lazily from update_mmu_cache) can handle highmem pages (fixed by
commit 7e5a69e8).
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Acked-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 151b6a5f
...@@ -247,7 +247,7 @@ void flush_dcache_page(struct page *page) ...@@ -247,7 +247,7 @@ void flush_dcache_page(struct page *page)
mapping = page_mapping(page); mapping = page_mapping(page);
#ifndef CONFIG_SMP #ifndef CONFIG_SMP
if (!PageHighMem(page) && mapping && !mapping_mapped(mapping)) if (mapping && !mapping_mapped(mapping))
set_bit(PG_dcache_dirty, &page->flags); set_bit(PG_dcache_dirty, &page->flags);
else else
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment