patch-2.3.12 linux/arch/sparc/mm/fault.c
Next file: linux/arch/sparc/mm/srmmu.c
Previous file: linux/arch/sparc/kernel/sun4m_smp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jul 23 12:20:23 1999
- Orig file:
v2.3.11/linux/arch/sparc/mm/fault.c
- Orig date:
Thu Jul 8 15:42:19 1999
diff -u --recursive --new-file v2.3.11/linux/arch/sparc/mm/fault.c linux/arch/sparc/mm/fault.c
@@ -205,7 +205,7 @@
* If we're in an interrupt or have no user
* context, we must not take the fault..
*/
- if (in_interrupt() || mm == &init_mm)
+ if (in_interrupt() || !mm)
goto do_kernel_fault;
down(&mm->mmap_sem);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)