powerpc: Replace current_thread_info()->task with current
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 17 Jan 2019 12:25:12 +0000 (23:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commit05b98791ec60f6a1862c58b3424f6aaeb00dfb72
treeab871eb33a11ffcb9f16e775aaed01b99b7b8611
parent7306e83ccf5ce3a324546d274945ec1981d78f9a
powerpc: Replace current_thread_info()->task with current

We have a few places that use current_thread_info()->task to access
current. This won't work with THREAD_INFO_IN_TASK so fix them now.

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/process.c