summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-09 15:22:56 +0800
committerBryan Wu <cooloney@kernel.org>2008-10-09 15:22:56 +0800
commitf5a817e3f707759882e423060badd2f2e52b66a4 (patch)
tree498fe571c12989c73db3b540607054407472db61 /arch/blackfin/kernel
parentcb4c173d94e90f9d8c7b621d1a8dfc8b741874a2 (diff)
downloadop-kernel-dev-f5a817e3f707759882e423060badd2f2e52b66a4.zip
op-kernel-dev-f5a817e3f707759882e423060badd2f2e52b66a4.tar.gz
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>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r--arch/blackfin/kernel/asm-offsets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/asm-offsets.c b/arch/blackfin/kernel/asm-offsets.c
index 881afe9..9bb85dd 100644
--- a/arch/blackfin/kernel/asm-offsets.c
+++ b/arch/blackfin/kernel/asm-offsets.c
@@ -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));
OpenPOWER on IntegriCloud