powerpc/ptrace-view: Use pt_regs values instead of thread_struct based one.
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Fri, 27 Nov 2020 04:44:15 +0000 (10:14 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:26 +0000 (01:01 +1100)
commitedc541ecaae73d498a49b9ca82bc66255d9e0720
tree42ac724d9546bdda91b0e7b63aecc43b874a929b
parentd5fa30e6993ffcdd1859d8dab1a07a6f6c6e7c3f
powerpc/ptrace-view: Use pt_regs values instead of thread_struct based one.

We will remove thread.amr/iamr/uamor in a later patch

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201127044424.40686-14-aneesh.kumar@linux.ibm.com
arch/powerpc/kernel/ptrace/ptrace-view.c