]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0609cdb86ebfcc749b2bf98db9a11cc66635365d
treee9b79fe5ad8d91ee2d166bde5c9b3b60835eb560
parent0602d0d8bc6d8b46f5b99787957f5af8af45c5d2
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