patch-1.3.24 linux/arch/i386/mm/fault.c

Next file: linux/arch/mips/kernel/ptrace.c
Previous file: linux/arch/i386/kernel/vm86.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.23/linux/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
@@ -92,10 +92,10 @@
 		if (regs->cs == KERNEL_CS)
 			printk("WP fault at %08x\n", regs->eip);
 #endif
-		do_wp_page(vma, address, error_code & 2);
+		do_wp_page(current, vma, address, error_code & 2);
 		return;
 	}
-	do_no_page(vma, address, error_code & 2);
+	do_no_page(current, vma, address, error_code & 2);
 	return;
 
 /*

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