.. | .. |
---|
1126 | 1126 | unsigned long start, unsigned long end) |
---|
1127 | 1127 | { |
---|
1128 | 1128 | if (unmap_pte_range(pmd, start, end)) |
---|
1129 | | - if (try_to_free_pmd_page((pmd_t *)pud_page_vaddr(*pud))) |
---|
| 1129 | + if (try_to_free_pmd_page(pud_pgtable(*pud))) |
---|
1130 | 1130 | pud_clear(pud); |
---|
1131 | 1131 | } |
---|
1132 | 1132 | |
---|
.. | .. |
---|
1170 | 1170 | * Try again to free the PMD page if haven't succeeded above. |
---|
1171 | 1171 | */ |
---|
1172 | 1172 | if (!pud_none(*pud)) |
---|
1173 | | - if (try_to_free_pmd_page((pmd_t *)pud_page_vaddr(*pud))) |
---|
| 1173 | + if (try_to_free_pmd_page(pud_pgtable(*pud))) |
---|
1174 | 1174 | pud_clear(pud); |
---|
1175 | 1175 | } |
---|
1176 | 1176 | |
---|