]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/powerpc/mm/hugetlbpage.c
mmu_gather: move minimal range calculations into generic code
[mirror_ubuntu-jammy-kernel.git] / arch / powerpc / mm / hugetlbpage.c
index 7e70ae968e5f9df04cdf372e06ebea433be34d5b..6a4a5fcb9730877e0f089add23c6c522a41cc72c 100644 (file)
@@ -517,8 +517,6 @@ static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshif
        for (i = 0; i < num_hugepd; i++, hpdp++)
                hpdp->pd = 0;
 
-       tlb->need_flush = 1;
-
 #ifdef CONFIG_PPC_FSL_BOOK3E
        hugepd_free(tlb, hugepte);
 #else