@@ -20,7 +20,7 @@ pgtable_t pte_alloc_one(struct mm_struct *mm)
20
20
void ___pte_free_tlb (struct mmu_gather * tlb , struct page * pte )
21
21
{
22
22
paravirt_release_pte (page_to_pfn (pte ));
23
- tlb_remove_table (tlb , page_ptdesc (pte ));
23
+ tlb_remove_ptdesc (tlb , page_ptdesc (pte ));
24
24
}
25
25
26
26
#if CONFIG_PGTABLE_LEVELS > 2
@@ -34,21 +34,21 @@ void ___pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd)
34
34
#ifdef CONFIG_X86_PAE
35
35
tlb -> need_flush_all = 1 ;
36
36
#endif
37
- tlb_remove_table (tlb , virt_to_ptdesc (pmd ));
37
+ tlb_remove_ptdesc (tlb , virt_to_ptdesc (pmd ));
38
38
}
39
39
40
40
#if CONFIG_PGTABLE_LEVELS > 3
41
41
void ___pud_free_tlb (struct mmu_gather * tlb , pud_t * pud )
42
42
{
43
43
paravirt_release_pud (__pa (pud ) >> PAGE_SHIFT );
44
- tlb_remove_table (tlb , virt_to_ptdesc (pud ));
44
+ tlb_remove_ptdesc (tlb , virt_to_ptdesc (pud ));
45
45
}
46
46
47
47
#if CONFIG_PGTABLE_LEVELS > 4
48
48
void ___p4d_free_tlb (struct mmu_gather * tlb , p4d_t * p4d )
49
49
{
50
50
paravirt_release_p4d (__pa (p4d ) >> PAGE_SHIFT );
51
- tlb_remove_table (tlb , virt_to_ptdesc (p4d ));
51
+ tlb_remove_ptdesc (tlb , virt_to_ptdesc (p4d ));
52
52
}
53
53
#endif /* CONFIG_PGTABLE_LEVELS > 4 */
54
54
#endif /* CONFIG_PGTABLE_LEVELS > 3 */
0 commit comments