patch-1.3.96 linux/arch/alpha/kernel/traps.c
Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 77
- Date:
Thu Apr 25 08:50:31 1996
- Orig file:
v1.3.95/linux/arch/alpha/kernel/traps.c
- Orig date:
Sun Apr 21 12:39:00 1996
diff -u --recursive --new-file v1.3.95/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -67,7 +67,7 @@
printk("%s: arithmetic trap at %016lx: %02lx %016lx\n",
current->comm, regs.pc, summary, write_mask);
die_if_kernel("Arithmetic fault", ®s, 0);
- send_sig(SIGFPE, current, 1);
+ force_sig(SIGFPE, current);
}
asmlinkage void do_entIF(unsigned long type, unsigned long a1, unsigned long a2,
@@ -82,7 +82,7 @@
if (ptrace_cancel_bpt(current)) {
regs.pc -= 4; /* make pc point to former bpt */
}
- send_sig(SIGTRAP, current, 1);
+ force_sig(SIGTRAP, current);
break;
case 2: /* gentrap */
@@ -97,7 +97,7 @@
case GEN_INTOVF: case GEN_INTDIV: case GEN_FLTOVF:
case GEN_FLTDIV: case GEN_FLTUND: case GEN_FLTINV:
case GEN_FLTINE:
- send_sig(SIGFPE, current, 1);
+ force_sig(SIGFPE, current);
break;
case GEN_DECOVF:
@@ -118,14 +118,14 @@
case GEN_SUBRNG5:
case GEN_SUBRNG6:
case GEN_SUBRNG7:
- send_sig(SIGILL, current, 1);
+ force_sig(SIGILL, current);
break;
}
break;
case 1: /* bugcheck */
case 3: /* FEN fault */
- send_sig(SIGILL, current, 1);
+ force_sig(SIGILL, current);
break;
case 4: /* opDEC */
@@ -142,12 +142,12 @@
* (we don't do no stinkin' VAX fp...)
*/
if (!alpha_fp_emul(regs.pc - 4))
- send_sig(SIGFPE, current, 1);
+ force_sig(SIGFPE, current);
break;
}
}
#endif
- send_sig(SIGILL, current, 1);
+ force_sig(SIGILL, current);
break;
default:
@@ -314,7 +314,7 @@
}
if (verify_area(dir, va, size)) {
*pc_addr -= 4; /* make pc point to faulting insn */
- send_sig(SIGSEGV, current, 1);
+ force_sig(SIGSEGV, current);
return;
}
@@ -362,7 +362,7 @@
case 0x2d: stq_u(*reg_addr, va); break; /* stq */
default:
*pc_addr -= 4; /* make pc point to faulting insn */
- send_sig(SIGBUS, current, 1);
+ force_sig(SIGBUS, current);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this