summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/flush.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-03-24 23:47:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-03-24 23:47:45 +0100
commitfbf2b1f9cfdb4e4b5d042839142ed19ff5d46679 (patch)
tree3a17c02aa0cf9bdbed9aa479739974aa2416ecac /arch/arm/mm/flush.c
parentMerge branch 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/... (diff)
parent[ARM] add CONFIG_HIGHMEM option (diff)
downloadlinux-fbf2b1f9cfdb4e4b5d042839142ed19ff5d46679.tar.xz
linux-fbf2b1f9cfdb4e4b5d042839142ed19ff5d46679.zip
Merge branch 'highmem' into devel
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 0fa9bf388f0b..4e283481cee1 100644
--- a/arch/arm/mm/flush.c
+++ b/arch/arm/mm/flush.c
@@ -192,7 +192,7 @@ void flush_dcache_page(struct page *page)
struct address_space *mapping = page_mapping(page);
#ifndef CONFIG_SMP
- if (mapping && !mapping_mapped(mapping))
+ if (!PageHighMem(page) && mapping && !mapping_mapped(mapping))
set_bit(PG_dcache_dirty, &page->flags);
else
#endif