diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index eaf79031f573..585bb4e0b97f 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -249,7 +249,7 @@ void free_pgd_range(struct mmu_gather **tlb, | |||
249 | free_pud_range(*tlb, pgd, addr, next, floor, ceiling); | 249 | free_pud_range(*tlb, pgd, addr, next, floor, ceiling); |
250 | } while (pgd++, addr = next, addr != end); | 250 | } while (pgd++, addr = next, addr != end); |
251 | 251 | ||
252 | if (!tlb_is_full_mm(*tlb)) | 252 | if (!(*tlb)->fullmm) |
253 | flush_tlb_pgtables((*tlb)->mm, start, end); | 253 | flush_tlb_pgtables((*tlb)->mm, start, end); |
254 | } | 254 | } |
255 | 255 | ||
@@ -698,7 +698,7 @@ unsigned long unmap_vmas(struct mmu_gather **tlbp, struct mm_struct *mm, | |||
698 | int tlb_start_valid = 0; | 698 | int tlb_start_valid = 0; |
699 | unsigned long start = start_addr; | 699 | unsigned long start = start_addr; |
700 | spinlock_t *i_mmap_lock = details? details->i_mmap_lock: NULL; | 700 | spinlock_t *i_mmap_lock = details? details->i_mmap_lock: NULL; |
701 | int fullmm = tlb_is_full_mm(*tlbp); | 701 | int fullmm = (*tlbp)->fullmm; |
702 | 702 | ||
703 | for ( ; vma && vma->vm_start < end_addr; vma = vma->vm_next) { | 703 | for ( ; vma && vma->vm_start < end_addr; vma = vma->vm_next) { |
704 | unsigned long end; | 704 | unsigned long end; |