aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/flush.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2010-09-13 10:57:05 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-09-19 07:17:43 -0400
commit0fc73099dd25df2c5181b7bad57d1faa5cd12d3c (patch)
treee9a98aa1a20ac43ade82601e8bf93e9d871b92ac /arch/arm/mm/flush.c
parent151b6a5f1d4c547c92ec67a5a6fedc16f435956e (diff)
ARM: 6378/1: Allow lazy cache flushing via PG_arch_1 for highmem pages
Commit d73cd42 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 7e5a69e). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/flush.c')
-rw-r--r--arch/arm/mm/flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c
index c6844cb9b508..87dd5ffdfa2d 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -247,7 +247,7 @@ void flush_dcache_page(struct page *page)
247 mapping = page_mapping(page); 247 mapping = page_mapping(page);
248 248
249#ifndef CONFIG_SMP 249#ifndef CONFIG_SMP
250 if (!PageHighMem(page) && mapping && !mapping_mapped(mapping)) 250 if (mapping && !mapping_mapped(mapping))
251 set_bit(PG_dcache_dirty, &page->flags); 251 set_bit(PG_dcache_dirty, &page->flags);
252 else 252 else
253#endif 253#endif