From: Dave A. <ai...@us...> - 2001-04-11 21:36:57
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/mm In directory usw-pr-cvs1:/tmp/cvs-serv19515 Modified Files: fault.c Log Message: hmm how did we ever miss this ... wrong args to handle_mm_fault Index: fault.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/mm/fault.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- fault.c 2001/03/14 23:08:49 1.3 +++ fault.c 2001/04/11 21:36:53 1.4 @@ -53,7 +53,7 @@ struct mm_struct *mm = NULL; unsigned fixup; - printk("mmfault: fault at %p\n", address); + printk("mmfault: fault at %8X\n", address); /* This check, and the mm != NULL checks later, will be removed later, once we actually have a 'current' properly defined */ if (tsk != NULL) { @@ -90,7 +90,7 @@ } survive: { - int fault = handle_mm_fault(current, vma, address, reason & REASON_WRITE); + int fault = handle_mm_fault(mm, vma, address, reason & REASON_WRITE); if (!fault) goto do_sigbus; if (fault < 0) |