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

Next file: linux/arch/alpha/lib/Makefile
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/arch/alpha/kernel/traps.c linux/arch/alpha/kernel/traps.c
@@ -863,9 +863,9 @@
 				 unsigned long a4, unsigned long a5,
 				 struct pt_regs regs)
 {
-	/* Only report OSF system calls.  */
-	if (regs.r0 != 112 && regs.r0 < 300)
-		printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
+	/* We only get here for OSF system calls, minus #112;
+	   the rest go to sys_ni_syscall.  */
+	printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
 	return -ENOSYS;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov