patch-2.3.12 linux/arch/mips/mm/fault.c
Next file: linux/arch/ppc/config.in
Previous file: linux/arch/mips/kernel/signal.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/mips/mm/fault.c
- Orig date:
Thu Jul 8 15:42:19 1999
diff -u --recursive --new-file v2.3.11/linux/arch/mips/mm/fault.c linux/arch/mips/mm/fault.c
@@ -55,7 +55,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 no_context;
#if 0
printk("[%s:%d:%08lx:%ld:%08lx]\n", current->comm, current->pid,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)