diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-01-10 17:02:57 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 09:31:27 -0800 |
commit | 19dbaf6f6f0f3b766df08594446d64747a5cced3 (patch) | |
tree | 7eb7333c1937446c7302bc33a3ff8185148212e3 | |
parent | 3960f2faaf0a67ad352bd5d4085e43f19f33ab91 (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>
-rw-r--r-- | include/asm-m68knommu/sigcontext.h | 1 |
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; |