aboutsummaryrefslogtreecommitdiff
path: root/include/asm-m68knommu
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-01-10 17:02:57 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 09:31:27 -0800
commit19dbaf6f6f0f3b766df08594446d64747a5cced3 (patch)
tree7eb7333c1937446c7302bc33a3ff8185148212e3 /include/asm-m68knommu
parent3960f2faaf0a67ad352bd5d4085e43f19f33ab91 (diff)
[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>
Diffstat (limited to 'include/asm-m68knommu')
-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 84bf36dc7a8..36c293fc133 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;