[SPARC64]: Don't clobber alt-global %g4 on window fixups.
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2006 02:35:05 +0000 (18:35 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:30 +0000 (01:11 -0800)
commit30a6ecad9670d97c9d0fbfa7d80970aeb339bdec
tree37f3b37871f23a8fb4fcb14527c68a49a7e1c270
parent86b818687d4894063ecd1190e54717a0cce8c009
[SPARC64]: Don't clobber alt-global %g4 on window fixups.

If we are returning back to kernel mode, %g4 could be live
(for example, in the case where we window spill in the etrap
code).  So do not change it's value if going back to kernel.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/winfixup.S