From: Greg Ungerer Date: Tue, 10 Jan 2006 07:02:57 +0000 (+1000) Subject: [PATCH] m68knommu: save reg a5 on context change X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=19dbaf6f6f0f3b766df08594446d64747a5cced3;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Linus Torvalds --- 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;