diff options
author | Xiongwei Song <[email protected]> | 2021-08-07 09:02:38 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-08-26 21:21:07 +1000 |
commit | 4872cbd0ca35ca5b20d52e2539e7e1950f126e7b (patch) | |
tree | 29c33ca9887a0c182c0c0a5c1e1e2f6c03375884 /scripts/gdb/linux/tasks.py | |
parent | cfa47772ca8d53d7a6c9b331a7f6e7c4c9827214 (diff) |
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 <[email protected]>
[mpe: Reword commit title]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions