patch-1.3.24 linux/arch/i386/kernel/vm86.c

Next file: linux/arch/i386/mm/fault.c
Previous file: linux/arch/i386/kernel/sys_i386.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.23/linux/arch/i386/kernel/vm86.c linux/arch/i386/kernel/vm86.c
@@ -74,7 +74,7 @@
 	pte_t *pte;
 	int i;
 
-	pgd = pgd_offset(tsk, 0xA0000);
+	pgd = pgd_offset(tsk->mm, 0xA0000);
 	if (pgd_none(*pgd))
 		return;
 	if (pgd_bad(*pgd)) {

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this