From: Nicholas Piggin Date: Mon, 5 Nov 2018 02:31:58 +0000 (+0800) Subject: nios2: pte_clear does not need to flush TLB X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0b5754b9869ba00dd4489c9d58a342cba7d6f69f;p=linux.git nios2: pte_clear does not need to flush TLB Signed-off-by: Nicholas Piggin Signed-off-by: Ley Foon Tan --- diff --git a/arch/nios2/include/asm/pgtable.h b/arch/nios2/include/asm/pgtable.h index db4f7d1792207..95237b7f6fc17 100644 --- a/arch/nios2/include/asm/pgtable.h +++ b/arch/nios2/include/asm/pgtable.h @@ -232,7 +232,6 @@ static inline void pte_clear(struct mm_struct *mm, pte_val(null) = (addr >> PAGE_SHIFT) & 0xf; set_pte_at(mm, addr, ptep, null); - flush_tlb_one(addr); } /*