mirror of https://gitee.com/openkylin/linux.git
nios2: pte_clear does not need to flush TLB
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
This commit is contained in:
parent
195568a10a
commit
0b5754b986
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue