Title: [5321] trunk: make sure PT_ORIG_R0 and PT_ORIG_P0 offsets are declared
- Revision
- 5321
- Author
- vapier
- Date
- 2008-09-20 03:06:06 -0500 (Sat, 20 Sep 2008)
Log Message
make sure PT_ORIG_R0 and PT_ORIG_P0 offsets are declared
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/asm-offsets.c (5320 => 5321)
--- trunk/arch/blackfin/kernel/asm-offsets.c 2008-09-20 05:46:10 UTC (rev 5320)
+++ trunk/arch/blackfin/kernel/asm-offsets.c 2008-09-20 08:06:06 UTC (rev 5321)
@@ -60,6 +60,7 @@
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));
Modified: trunk/include/asm-blackfin/ptrace.h (5320 => 5321)
--- trunk/include/asm-blackfin/ptrace.h 2008-09-20 05:46:10 UTC (rev 5320)
+++ trunk/include/asm-blackfin/ptrace.h 2008-09-20 08:06:06 UTC (rev 5321)
@@ -156,6 +156,8 @@
#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
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits