]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8e3b12f81b3c31015de4f93c169f83490aa3204
treeab871eb33a11ffcb9f16e775aaed01b99b7b8611
parent0609cdb86ebfcc749b2bf98db9a11cc66635365d
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