patch-2.3.24 linux/include/asm-sh/mmu_context.h

Next file: linux/include/asm-sh/page.h
Previous file: linux/include/asm-sh/highmem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.23/linux/include/asm-sh/mmu_context.h linux/include/asm-sh/mmu_context.h
@@ -141,7 +141,7 @@
 				 struct task_struct *tsk, unsigned int cpu)
 {
 	if (prev != next) {
-		unsigned long __pgdir = __pa(next->pgd);
+		unsigned long __pgdir = (unsigned long)next->pgd;
 
 		__asm__ __volatile__("mov.l	%0,%1": \
 				     :"r" (__pgdir), "m" (__m(MMU_TTB)));

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