Browse Source

[PATCH] m68knommu: save reg a5 on context change

Fix a5 register corruption when processing user space signals handlers.
We need to save a5 through each contenxt change.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Greg Ungerer 19 years ago
parent
commit
19dbaf6f6f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/asm-m68knommu/sigcontext.h

+ 1 - 0
include/asm-m68knommu/sigcontext.h

@@ -8,6 +8,7 @@ struct sigcontext {
 	unsigned long  sc_d1;
 	unsigned long  sc_d1;
 	unsigned long  sc_a0;
 	unsigned long  sc_a0;
 	unsigned long  sc_a1;
 	unsigned long  sc_a1;
+	unsigned long  sc_a5;
 	unsigned short sc_sr;
 	unsigned short sc_sr;
 	unsigned long  sc_pc;
 	unsigned long  sc_pc;
 	unsigned short sc_formatvec;
 	unsigned short sc_formatvec;