patch-2.1.110 linux/arch/arm/kernel/traps.c

Next file: linux/arch/arm/lib/Makefile
Previous file: linux/arch/arm/kernel/time.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/arch/arm/kernel/traps.c linux/arch/arm/kernel/traps.c
@@ -24,6 +24,7 @@
 #include <asm/atomic.h>
 #include <asm/pgtable.h>
 
+extern struct task_struct *last_task_used_math;
 extern void fpe_save(struct fp_soft_struct *);
 extern void fpe_restore(struct fp_soft_struct *);
 extern void die_if_kernel(char *str, struct pt_regs *regs, int err, int ret);
@@ -306,7 +307,7 @@
 
 asmlinkage void deferred(int n, struct pt_regs *regs)
 {
-	dump_state("old system call", regs, 0);
+	dump_state("old system call", regs, n);
 	force_sig (SIGILL, current);
 }
 

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