mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
Blackfin arch: ptrace - make sure PT_ORIG_R0 and PT_ORIG_P0 offsets are declared
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
cb4c173d94
commit
f5a817e3f7
@ -158,6 +158,8 @@ extern void show_regs(struct pt_regs *);
|
||||
#define PT_SEQSTAT 8
|
||||
#define PT_IPEND 4
|
||||
|
||||
#define PT_ORIG_R0 208
|
||||
#define PT_ORIG_P0 212
|
||||
#define PT_SYSCFG 216
|
||||
#define PT_TEXT_ADDR 220
|
||||
#define PT_TEXT_END_ADDR 224
|
||||
|
@ -60,6 +60,7 @@ int main(void)
|
||||
DEFINE(KERNEL_STACK_SIZE, THREAD_SIZE);
|
||||
|
||||
/* offsets into the pt_regs */
|
||||
DEFINE(PT_ORIG_R0, offsetof(struct pt_regs, orig_r0));
|
||||
DEFINE(PT_ORIG_P0, offsetof(struct pt_regs, orig_p0));
|
||||
DEFINE(PT_ORIG_PC, offsetof(struct pt_regs, orig_pc));
|
||||
DEFINE(PT_R0, offsetof(struct pt_regs, r0));
|
||||
|
Loading…
Reference in New Issue
Block a user