patch-2.3.12 linux/arch/arm/mm/fault-common.c
Next file: linux/arch/i386/config.in
Previous file: linux/arch/arm/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/arm/mm/fault-common.c
- Orig date:
Thu Jun 17 01:11:35 1999
diff -u --recursive --new-file v2.3.11/linux/arch/arm/mm/fault-common.c linux/arch/arm/mm/fault-common.c
@@ -106,7 +106,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;
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)