patch-1.3.92 linux/arch/alpha/kernel/traps.c

Next file: linux/arch/alpha/mm/fault.c
Previous file: linux/arch/alpha/kernel/bios32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.91/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -87,11 +87,11 @@
 
 	      case 2: /* gentrap */
 		/*
-		 * The translation from the gentrap error code into a
-		 * siginfo structure (see /usr/include/sys/siginfo.h)
-		 * is missing as Linux does not presently support the
-		 * siginfo argument that is normally passed to a
-		 * signal handler.
+		 * The exception code should be passed on to the signal
+		 * handler as the second argument.  Linux doesn't do that
+		 * yet (also notice that Linux *always* behaves like
+		 * DEC Unix with SA_SIGINFO off; see DEC Unix man page
+		 * for sigaction(2)).
 		 */
 		switch ((long) regs.r16) {
 		      case GEN_INTOVF: case GEN_INTDIV: case GEN_FLTOVF:

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