[PATCH] m68knommu: save reg a5 on context change
authorGreg Ungerer <gerg@snapgear.com>
Tue, 10 Jan 2006 07:02:57 +0000 (17:02 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 17:31:27 +0000 (09:31 -0800)
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>
include/asm-m68knommu/sigcontext.h

index 84bf36dc7a83e5243192e61cb07dfbba26e3448c..36c293fc133d5906162e84f08310cd7f775c91b7 100644 (file)
@@ -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;