powerpc/64: Replace CURRENT_THREAD_INFO with PACA_THREAD_INFO
authorChristophe Leroy <christophe.leroy@c-s.fr>
Sat, 12 Jan 2019 09:55:50 +0000 (09:55 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commitc911d2e128e8ab7e789a5488dcb63ae9fe130aca
treeaaefcd2c47d20d12d908d868def9d79433686d2e
parentf7354ccac844da7b1af8cc4f09da330fa3e960e4
powerpc/64: Replace CURRENT_THREAD_INFO with PACA_THREAD_INFO

Now that current_thread_info is located at the beginning of 'current'
task struct, CURRENT_THREAD_INFO macro is not really needed any more.

This patch replaces it by loads of the value at PACA_THREAD_INFO(r13).

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Add PACA_THREAD_INFO rather than using PACACURRENT]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/exception-64s.h
arch/powerpc/include/asm/thread_info.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/idle_book3e.S
arch/powerpc/kernel/idle_power4.S
arch/powerpc/kernel/trace/ftrace_64_mprofile.S