powerpc/idle/6xx: Use r1 with CURRENT_THREAD_INFO()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Mon, 4 Feb 2019 11:16:48 +0000 (22:16 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commit7aef376679a428c6b7792fb4ce93364fd02caad4
treeb610e5df69930203562bd58d60da1c2d330017d0
parentb72cc2e7aea1e42a82358bdc6c41dfaf7a5fa742
powerpc/idle/6xx: Use r1 with CURRENT_THREAD_INFO()

Make sure CURRENT_THREAD_INFO() is used with r1 which is the virtual
address of the stack, in order to ease the switch to r2 when we enable
THREAD_INFO_IN_TASK, as we have no register having the phys address of
current.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/idle_6xx.S