arm64: tlb: remove redundant barrier from __flush_tlb_pgtable
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Oct 2015 17:46:29 +0000 (18:46 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Oct 2015 10:56:33 +0000 (11:56 +0100)
commit28c6fbc3b446caf5f8d1f2d7b79e09e743158a4d
treea5c5a5a1f55820295ab1c9cf53a41217e4430373
parent38d96287504a2478eb538bfecfa1fddd743bb6b2
arm64: tlb: remove redundant barrier from __flush_tlb_pgtable

__flush_tlb_pgtable is used to invalidate intermediate page table
entries after they have been cleared and are about to be freed. Since
pXd_clear imply memory barriers, we don't need the extra one here.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/tlbflush.h