powerpc: Don't use CURRENT_THREAD_INFO to find the stack
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 17 Jan 2019 12:23:57 +0000 (23:23 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commit7306e83ccf5ce3a324546d274945ec1981d78f9a
treee9b79fe5ad8d91ee2d166bde5c9b3b60835eb560
parent1e35f29c6b2eba72521d6f3c38f9c86f331cfd0a
powerpc: Don't use CURRENT_THREAD_INFO to find the stack

A few places use CURRENT_THREAD_INFO, or the C version, to find the
stack. This will no longer work with THREAD_INFO_IN_TASK so change
them to find the stack in other ways.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/misc_32.S