]> err.no Git - linux-2.6/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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2008 03:40:46 +0000 (20:40 -0700)
commit0a4949c4414af2eb91414bcd8e2a8ac3706f7dde
tree5f05f6f539741587127900bbdd838a2e882fcdbf
parentdbf3e950679b2588e554baa4da94c445c7903e24
sparc64: Do not clobber %g7 in setcontext() trap.

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>
arch/sparc64/kernel/signal.c