diff -pru linux_2_4_18_orig/arch/mips/mm/tlb-r3k.c linux_2_4_18/arch/mips/mm/tlb-r3k.c --- linux_2_4_18_orig/arch/mips/mm/tlb-r3k.c Fri Apr 26 07:50:07 2002 +++ linux_2_4_18/arch/mips/mm/tlb-r3k.c Mon May 27 16:36:14 2002 @@ -118,7 +118,7 @@ void local_flush_tlb_range(struct mm_str void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) { - if (!vma || vma->vm_mm->context != 0) { + if (vma && vma->vm_mm->context) { unsigned long flags; int oldpid, newpid, idx; diff -pru linux_2_4_18_orig/arch/mips/mm/tlb-r4k.c linux_2_4_18/arch/mips/mm/tlb-r4k.c --- linux_2_4_18_orig/arch/mips/mm/tlb-r4k.c Fri Apr 26 07:50:07 2002 +++ linux_2_4_18/arch/mips/mm/tlb-r4k.c Mon May 27 16:31:45 2002 @@ -140,7 +140,7 @@ void local_flush_tlb_range(struct mm_str void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) { - if (!vma || vma->vm_mm->context != 0) { + if (vma && vma->vm_mm->context) { unsigned long flags; int oldpid, newpid, idx;