]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: Do not clobber %g7 in setcontext() trap.
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2008 03:40:46 +0000 (20:40 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:05 +0000 (11:05 -0700)
commitf6c6fd9055f298c8ac33d16ba8403a2968ec1840
tree38052910cf341c41ca97082452d2bf1f8a3a50ee
parentffcf147fd9ba78f295eca28047432d3854750186
sparc64: Do not clobber %g7 in setcontext() trap.

[ Upstream commit 0a4949c4414af2eb91414bcd8e2a8ac3706f7dde ]

That's the userland thread register, so we should never try to change
it like this.

Based upon glibc bug nptl/6577 and suggestions by Jakub Jelinek.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/signal.c