rk: revert to v3.10
[firefly-linux-kernel-4.4.55.git] / arch / um / include / asm / tlb.h
index 29b0301c18aab26f2a613d397da9856a8d1eec3b..4febacd1a8a1a3dee2c24e3b3447081e7ca94ebb 100644 (file)
@@ -45,12 +45,10 @@ static inline void init_tlb_gather(struct mmu_gather *tlb)
 }
 
 static inline void
-tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned long start, unsigned long end)
+tlb_gather_mmu(struct mmu_gather *tlb, struct mm_struct *mm, unsigned int full_mm_flush)
 {
        tlb->mm = mm;
-       tlb->start = start;
-       tlb->end = end;
-       tlb->fullmm = !(start | (end+1));
+       tlb->fullmm = full_mm_flush;
 
        init_tlb_gather(tlb);
 }