patch-2.1.40 linux/include/asm-m68k/elf.h

Next file: linux/include/asm-m68k/hardirq.h
Previous file: linux/include/asm-m68k/current.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.39/linux/include/asm-m68k/elf.h linux/include/asm-m68k/elf.h
@@ -44,6 +44,7 @@
 	pr_reg[4] = regs->d5;						\
 	pr_reg[7] = regs->a0;						\
 	pr_reg[8] = regs->a1;						\
+	pr_reg[9] = regs->a2;						\
 	pr_reg[14] = regs->d0;						\
 	pr_reg[15] = rdusp();						\
 	pr_reg[16] = regs->orig_d0;					\
@@ -54,7 +55,6 @@
 	  struct switch_stack *sw = ((struct switch_stack *)regs) - 1;	\
 	  pr_reg[5] = sw->d6;						\
 	  pr_reg[6] = sw->d7;						\
-	  pr_reg[9] = sw->a2;						\
 	  pr_reg[10] = sw->a3;						\
 	  pr_reg[11] = sw->a4;						\
 	  pr_reg[12] = sw->a5;						\

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