]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/asm-generic/tlb.h
Merge tag 'tegra-for-5.5-memory-fixes' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / include / asm-generic / tlb.h
index 05dddc17522bbd0fba555434a6d8cdf79a2744cb..2b10036fefd0f27026ca6a85c118dd0a1705bc0a 100644 (file)
@@ -428,7 +428,7 @@ static inline void tlb_change_page_size(struct mmu_gather *tlb,
 {
 #ifdef CONFIG_HAVE_MMU_GATHER_PAGE_SIZE
        if (tlb->page_size && tlb->page_size != page_size) {
-               if (!tlb->fullmm)
+               if (!tlb->fullmm && !tlb->need_flush_all)
                        tlb_flush_mmu(tlb);
        }