After commit 08d5b29eac7d ("mm: ptep_clear() page table helper"), the ptep_clear() can be used to track the clearing of PTE page table entries, but pte_clear_not_present_full() is not covered, so also convert it to use ptep_clear(), we will need this call in subsequent patches. Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> --- include/linux/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h index f4f4077b97aa..bed9a559d45b 100644 --- a/include/linux/pgtable.h +++ b/include/linux/pgtable.h @@ -423,7 +423,7 @@ static inline void pte_clear_not_present_full(struct mm_struct *mm, pte_t *ptep, int full) { - pte_clear(mm, address, ptep); + ptep_clear(mm, address, ptep); } #endif -- 2.20.1