patch-1.3.91 linux/arch/alpha/kernel/signal.c
Next file: linux/arch/i386/kernel/signal.c
Previous file: linux/arch/alpha/kernel/bios32.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Apr 18 14:00:23 1996
- Orig file:
v1.3.90/linux/arch/alpha/kernel/signal.c
- Orig date:
Mon Mar 11 09:39:33 1996
diff -u --recursive --new-file v1.3.90/linux/arch/alpha/kernel/signal.c linux/arch/alpha/kernel/signal.c
@@ -194,7 +194,9 @@
put_fs_quad(0x43ecf40047de0410, sc->sc_retcode+0);
put_fs_quad(0x0000000000000083, sc->sc_retcode+1);
regs->r26 = (unsigned long) sc->sc_retcode;
- regs->r16 = signr;
+ regs->r16 = signr; /* a0: signal number */
+ regs->r17 = 0; /* a1: exception code; see gentrap.h */
+ regs->r18 = (unsigned long) sc; /* a2: sigcontext pointer */
*fp = sc;
}
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