diff options
author | 2019-02-21 10:37:54 +0000 | |
---|---|---|
committer | 2019-02-22 00:10:16 +1100 | |
commit | 0df977eafc792a5365a7f81d8d5920132e03afad (patch) | |
tree | 145c1adc8829075f35bbf51742de3a4430259f0f /arch/powerpc/lib/test_emulate_step_exec_instr.S | |
parent | powerpc: simplify BDI switch (diff) | |
download | linux-dev-0df977eafc792a5365a7f81d8d5920132e03afad.tar.xz linux-dev-0df977eafc792a5365a7f81d8d5920132e03afad.zip |
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>
Diffstat (limited to 'arch/powerpc/lib/test_emulate_step_exec_instr.S')
0 files changed, 0 insertions, 0 deletions