diff options
author | Gary King <gking@nvidia.com> | 2009-12-08 12:59:23 -0800 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2009-12-08 13:00:45 -0800 |
commit | 236328c275d74d68d15bf0246ed521ea1daade6b (patch) | |
tree | 5b98b4edc005993defa47caf98d6655f266cca0a /arch/arm/mm | |
parent | 3a6dd61842fe6e3bd954a9443ede30b0b9ca9ab2 (diff) |
Fix broken merge from linux-arm.org/arm-2.2.28 branch
Flush the D-cache during copy_user_highpage()
The I and D caches for copy-on-write pages on processors with
write-allocate caches become incoherent causing problems on application
relying on CoW for text pages (dynamic linker relocating symbols in a
text page). This patch flushes the D-cache for such pages.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r-- | arch/arm/mm/copypage-v6.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mm/copypage-v6.c b/arch/arm/mm/copypage-v6.c index bdacce569218..841f355319bf 100644 --- a/arch/arm/mm/copypage-v6.c +++ b/arch/arm/mm/copypage-v6.c @@ -51,7 +51,6 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to, __cpuc_flush_dcache_page(kto); kunmap_atomic(kto, KM_USER1); kunmap_atomic(kfrom, KM_USER0); - __cpuc_flush_dcache_page(kto); } /* |