patch-2.1.2 linux/arch/alpha/mm/fault.c
Next file: linux/arch/alpha/mm/init.c
Previous file: linux/arch/alpha/lib/memcpy.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Oct 8 09:45:14 1996
- Orig file:
v2.1.1/linux/arch/alpha/mm/fault.c
- Orig date:
Mon Sep 9 21:04:56 1996
diff -u --recursive --new-file v2.1.1/linux/arch/alpha/mm/fault.c linux/arch/alpha/mm/fault.c
@@ -97,6 +97,11 @@
*/
bad_area:
up(&mm->mmap_sem);
+ /* Did we have an exception handler installed? */
+ if (current->tss.ex.count == 1) {
+ current->tss.ex.count = 0;
+ __handle_exception(¤t->tss.ex);
+ }
if (user_mode(®s)) {
printk("%s: memory violation at pc=%08lx rp=%08lx (bad address = %08lx)\n",
tsk->comm, regs.pc, regs.r26, address);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov