patch-1.3.94 linux/include/asm-i386/pgtable.h

Next file: linux/include/asm-m68k/a.out.h
Previous file: linux/fs/ufs/ufs_symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.93/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
@@ -290,7 +290,7 @@
 do { \
 	(tsk)->tss.cr3 = (unsigned long) (pgdir); \
 	if ((tsk) == current) \
-		__asm__ __volatile__("movl %0,%%cr3": :"a" ((tsk)->tss.cr3)); \
+		__asm__ __volatile__("movl %0,%%cr3": :"a" (pgdir)); \
 } while (0)
 
 extern inline int pte_none(pte_t pte)		{ return !pte_val(pte); }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this