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
-  Lines: 13
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/include/asm-arm/mmu_context.h
-  Orig date: 
Mon Sep 18 15:15:24 2000
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)