Update of /cvsroot/linux-mips/linux/arch/mips64/mm
In directory usw-pr-cvs1:/tmp/cvs-serv11681
Modified Files:
fault.c
Log Message:
Reshuffle debug code.
Index: fault.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips64/mm/fault.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- fault.c 28 Jan 2002 20:31:57 -0000 1.9
+++ fault.c 19 Feb 2002 17:51:29 -0000 1.10
@@ -106,6 +106,11 @@
unsigned long fixup;
siginfo_t info;
+#if 0
+ printk("Cpu%d[%s:%d:%08lx:%ld:%08lx]\n", smp_processor_id(),
+ current->comm, current->pid, address, write, regs->cp0_epc);
+#endif
+
/*
* We fault-in kernel-space virtual memory on-demand. The
* 'reference' page table is init_mm.pgd.
@@ -125,10 +130,7 @@
*/
if (in_interrupt() || mm == &init_mm)
goto no_context;
-#if DEBUG_MIPS64
- printk("Cpu%d[%s:%d:%08lx:%ld:%08lx]\n", smp_processor_id(), current->comm,
- current->pid, address, write, regs->cp0_epc);
-#endif
+
down_read(&mm->mmap_sem);
vma = find_vma(mm, address);
if (!vma)
|