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

Next file: linux/include/asm-arm/namei.h
Previous file: linux/include/asm-arm/memc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/mmu_context.h linux/include/asm-arm/mmu_context.h
@@ -26,7 +26,7 @@
 	  struct task_struct *tsk, unsigned int cpu)
 {
 	if (prev != next) {
-		cpu_switch_mm(__virt_to_phys((unsigned long)next->pgd), tsk);
+		cpu_switch_mm(next->pgd, tsk);
 		clear_bit(cpu, &prev->cpu_vm_mask);
 	}
 	set_bit(cpu, &next->cpu_vm_mask);

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