arm64: mm: Add THP TLB entries to general mmu_gather
authorSteve Capper <steve.capper@linaro.org>
Thu, 24 Apr 2014 14:33:21 +0000 (15:33 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Apr 2014 15:46:49 +0000 (16:46 +0100)
commit2eb835e058c737205d35d9a8791ad27b0f9e89a4
treeee87c206a0f1c55db2ff6fdfcfd5f044d47cb2e4
parentc46a98ab1045565db6d858b628fbfde80f05281a
arm64: mm: Add THP TLB entries to general mmu_gather

When arm64 moved over to the core mmu_gather, it lost the logic to
flush THP TLB entries (tlb_remove_pmd_tlb_entry was removed and the
core implementation only signals that the mmu_gather needs a flush).

This patch ensures that tlb_add_flush is called for THP TLB entries.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/tlb.h