patch-2.4.19 linux-2.4.19/include/asm-arm/mmu_context.h

Next file: linux-2.4.19/include/asm-arm/page.h
Previous file: linux-2.4.19/include/asm-arm/mach/serial_sa1100.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-arm/mmu_context.h linux-2.4.19/include/asm-arm/mmu_context.h
@@ -42,11 +42,8 @@
 switch_mm(struct mm_struct *prev, struct mm_struct *next,
 	  struct task_struct *tsk, unsigned int cpu)
 {
-	if (prev != next) {
+	if (prev != next)
 		cpu_switch_mm(next->pgd, tsk);
-		clear_bit(cpu, &prev->cpu_vm_mask);
-	}
-	set_bit(cpu, &next->cpu_vm_mask);
 }
 
 #define activate_mm(prev, next) \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)