Blackfin arch: ptrace - make sure PT_ORIG_R0 and PT_ORIG_P0 offsets are declared
[linux-2.6.git] / arch / blackfin / kernel / asm-offsets.c
index 881afe9082c76744bd9bdb01cc0bcd564a50f973..9bb85dd5ccb39a65d0926dcf27c019f6fa44df34 100644 (file)
@@ -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));