patch-1.3.13 linux/arch/alpha/kernel/traps.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/arch/alpha/kernel/osf_sys.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 25 20:18:19 1995
- Orig file:
v1.3.12/linux/arch/alpha/kernel/traps.c
- Orig date:
Tue Jul 25 18:21:20 1995
diff -u --recursive --new-file v1.3.12/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -142,7 +142,7 @@
/*
* Handle user-level unaligned fault. For now, simply send a
- * SIGSEGV---there should be little reason for users not wanting to
+ * SIGBUS---there should be little reason for users not wanting to
* fix their code instead. Notice that we have the regular kernel
* stack layout here, so finding the appropriate registers is a little
* more difficult than in the kernel case. Also, we'd need to do
@@ -153,7 +153,7 @@
struct pt_regs regs)
{
regs.pc -= 4; /* make pc point to faulting insn */
- send_sig(SIGSEGV, current, 1);
+ send_sig(SIGBUS, current, 1);
}
/*
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