summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorWill Deacon2013-05-23 19:24:21 +0200
committerWill Deacon2013-08-12 13:25:44 +0200
commit792a843a9f353d3e2474b6f5057b7eaecba41675 (patch)
tree64624d83a114dbd2e224f20d72a7baff3d6102ee /arch/arm
parentLinux 3.11-rc4 (diff)
downloadkernel-qcow2-linux-792a843a9f353d3e2474b6f5057b7eaecba41675.tar.gz
kernel-qcow2-linux-792a843a9f353d3e2474b6f5057b7eaecba41675.tar.xz
kernel-qcow2-linux-792a843a9f353d3e2474b6f5057b7eaecba41675.zip
ARM: mm: remove redundant dsb() prior to range TLB invalidation
The kernel TLB range invalidation functions already contain dsb instructions before and after the maintenance, so there is no need to introduce additional barriers. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mm/dma-mapping.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 7f9b1798c6cf..0c17f69a8286 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -455,7 +455,6 @@ static void __dma_remap(struct page *page, size_t size, pgprot_t prot)
unsigned end = start + size;
apply_to_page_range(&init_mm, start, size, __dma_update_pte, &prot);
- dsb();
flush_tlb_kernel_range(start, end);
}