patch-2.1.100 linux/arch/ppc/mm/init.c

Next file: linux/arch/sparc/kernel/ptrace.c
Previous file: linux/arch/ppc/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.99/linux/arch/ppc/mm/init.c linux/arch/ppc/mm/init.c
@@ -1296,11 +1296,8 @@
 {
 #ifndef CONFIG_8xx
 	mm->context = NO_CONTEXT;
-	if (mm == current->mm) {
-		get_mmu_context(current);
-		/* done by get_mmu_context() now -- Cort */
-		/*set_context(current->mm->context);*/
-	}
+	if (mm == current->mm)
+		activate_context(current);
 #else
 	asm volatile ("tlbia" : : );
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov