summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-01-10 08:02:57 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 18:31:27 +0100
commit19dbaf6f6f0f3b766df08594446d64747a5cced3 (patch)
tree7eb7333c1937446c7302bc33a3ff8185148212e3
parent[PATCH] m68knommu: fix find_next_zero_bit in bitops.h (diff)
downloadlinux-19dbaf6f6f0f3b766df08594446d64747a5cced3.tar.xz
linux-19dbaf6f6f0f3b766df08594446d64747a5cced3.zip
[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>
-rw-r--r--include/asm-m68knommu/sigcontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-m68knommu/sigcontext.h b/include/asm-m68knommu/sigcontext.h
index 84bf36dc7a83..36c293fc133d 100644
--- a/include/asm-m68knommu/sigcontext.h
+++ b/include/asm-m68knommu/sigcontext.h
@@ -8,6 +8,7 @@ struct sigcontext {
unsigned long sc_d1;
unsigned long sc_a0;
unsigned long sc_a1;
+ unsigned long sc_a5;
unsigned short sc_sr;
unsigned long sc_pc;
unsigned short sc_formatvec;