Christophe Leroy 0df977eafc powerpc/6xx: Don't use SPRN_SPRG2 for storing stack pointer while in RTAS
When calling RTAS, the stack pointer is stored in SPRN_SPRG2
in order to be able to restore it in case of machine check in RTAS.

As machine check is not a perfomance critical path, this patch
frees SPRN_SPRG2 by using a field in thread struct instead.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-02-22 00:10:16 +11:00
..
2018-08-17 11:32:50 -07:00
2019-02-22 00:10:16 +11:00
2019-02-19 19:56:26 +11:00
2018-08-17 11:32:50 -07:00
2019-02-21 23:15:10 +11:00
2018-12-19 18:56:32 +11:00