diff -Nru link/include/asm-mips/mmu_context.h.orig link/include/asm-mips/mmu_context.h --- link/include/asm-mips/mmu_context.h.orig Thu Feb 20 10:22:57 2003 +++ link/include/asm-mips/mmu_context.h Wed Feb 26 17:27:58 2003 @@ -134,7 +134,11 @@ write_c0_entryhi(cpu_context(smp_processor_id(), next)); TLBMISS_HANDLER_SETUP_PGD(next->pgd); - + + /* mark mmu ownership change */ + clear_bit(cpu, &prev->cpu_vm_mask); + set_bit(cpu, &next->cpu_vm_mask); + local_irq_restore(flags); } diff -Nru link/include/asm-mips64/mmu_context.h.orig link/include/asm-mips64/mmu_context.h --- link/include/asm-mips64/mmu_context.h.orig Thu Feb 20 10:23:10 2003 +++ link/include/asm-mips64/mmu_context.h Wed Feb 26 17:21:28 2003 @@ -125,7 +125,11 @@ write_c0_entryhi(cpu_context(smp_processor_id(), next)); TLBMISS_HANDLER_SETUP_PGD(next->pgd); - + + /* mark mmu ownership change */ + clear_bit(cpu, &prev->cpu_vm_mask); + set_bit(cpu, &next->cpu_vm_mask); + local_irq_restore(flags); }