OpenCloudOS-Kernel/arch/powerpc/kernel/ptrace
Xiongwei Song 4872cbd0ca powerpc: Add dear as a synonym for pt_regs.dar register
Create an anonymous union for dar and dear regsiters, we can reference
dear to get the effective address when CONFIG_4xx=y or CONFIG_BOOKE=y.
Otherwise, reference dar. This makes code more clear.

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
[mpe: Reword commit title]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210807010239.416055-4-sxwjean@me.com
2021-08-26 21:21:07 +10:00
..
Makefile powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-adv.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
ptrace-altivec.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-decl.h powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-fpu.c powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-noadv.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
ptrace-novsx.c powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS 2021-04-02 00:15:37 +11:00
ptrace-spe.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace-tm.c powerpc/ptrace: Hard wire PT_SOFTE value to 1 in gpr_get() too 2020-11-26 22:05:42 +11:00
ptrace-view.c powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
ptrace-vsx.c powerpc: switch to ->regset_get() 2020-07-27 14:31:07 -04:00
ptrace.c powerpc: Add dear as a synonym for pt_regs.dar register 2021-08-26 21:21:07 +10:00
ptrace32.c powerpc: remove partial register save logic 2021-04-14 23:04:44 +10:00