]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use task_stack_page() in current_pt_regs()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 18 Jan 2019 07:40:34 +0000 (18:40 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commit242bec7a4122b8b2b14d6d54c402c2b473ea91ae
tree1f7271ea213dda2e5a9c18678c6ed851b38ea947
parentc984684dd5888375a2afb862da9449130f554691
powerpc: Use task_stack_page() in current_pt_regs()

Change current_pt_regs() to use task_stack_page() rather than
current_thread_info() so that it keeps working once we enable
THREAD_INFO_IN_TASK.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Split out of large patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ptrace.h