[SPARC64]: Fix too early reference to %g6
authorDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2006 02:34:21 +0000 (18:34 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:27 +0000 (01:11 -0800)
commit9bc657b28eba22e36efcdf3afa08100f92971eb4
treed04a21e01a1795a6ea5be550ad96b6a4a3945375
parent764afe2edb834930050313459cef9f1ae2656750
[SPARC64]: Fix too early reference to %g6

%g6 is not necessarily set to current_thread_info()
at sparc64_realfault_common.  So store the fault
code and address after we invoke etrap and %g6 is
properly set up.

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