summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeechul Yun <hyun@nvidia.com>2011-07-05 09:39:25 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-07-15 16:01:25 -0700
commit6b3d1337150aaba81b2509847d4b83b74bcc59b1 (patch)
tree51d9dbd866b573218f1047a68869323efed78742 /arch
parenta711c16c086049e980c2d4969019938050a1a889 (diff)
ARM: mm: remove unnecessary cache flush on v6 copypage
Originally introduced to maintain coherency between icache and dcache in v6 nonaliasing mode. This is now handled by __sync_icache_dcache since c0177800, therefore unnecessary in this function. Change-Id: I3d78cedbf1e5816ecd49b0f0304ac2fb7972c5d9 Reviewed-on: http://git-master/r/40242 Tested-by: Heechul Yun <hyun@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Heechul Yun <hyun@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mm/copypage-v6.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mm/copypage-v6.c b/arch/arm/mm/copypage-v6.c
index bdba6c65c901..63cca0097130 100644
--- a/arch/arm/mm/copypage-v6.c
+++ b/arch/arm/mm/copypage-v6.c
@@ -41,7 +41,6 @@ static void v6_copy_user_highpage_nonaliasing(struct page *to,
kfrom = kmap_atomic(from, KM_USER0);
kto = kmap_atomic(to, KM_USER1);
copy_page(kto, kfrom);
- __cpuc_flush_dcache_area(kto, PAGE_SIZE);
kunmap_atomic(kto, KM_USER1);
kunmap_atomic(kfrom, KM_USER0);
}