summaryrefslogtreecommitdiffstats
path: root/arch/score/include/asm/ptrace.h
diff options
context:
space:
mode:
authorChen Liqin <liqin.chen@sunplusct.com>2009-08-30 12:30:16 +0800
committerChen Liqin <liqin.chen@sunplusct.com>2009-08-30 12:30:16 +0800
commitffa818b4b099f65b6cb74750bdb979061716e020 (patch)
tree2bb6917efd2590e02ffebd12356a990616414262 /arch/score/include/asm/ptrace.h
parentd8aa899bb27ad7879ab9e621365e04ada2745a65 (diff)
downloadlinux-ffa818b4b099f65b6cb74750bdb979061716e020.tar.bz2
score: update inconsistent declare after .c was changed
Diffstat (limited to 'arch/score/include/asm/ptrace.h')
-rw-r--r--arch/score/include/asm/ptrace.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/score/include/asm/ptrace.h b/arch/score/include/asm/ptrace.h
index 66b14c8891cf..d40e691f23e2 100644
--- a/arch/score/include/asm/ptrace.h
+++ b/arch/score/include/asm/ptrace.h
@@ -51,9 +51,11 @@
* system call/exception. As usual the registers k0/k1 aren't being saved.
*/
struct pt_regs {
- unsigned long pad0[6];
+ unsigned long pad0[6]; /* stack arguments */
unsigned long orig_r4;
unsigned long orig_r7;
+ long is_syscall;
+
unsigned long regs[32];
unsigned long cel;
@@ -68,12 +70,12 @@ struct pt_regs {
unsigned long cp0_psr;
unsigned long cp0_ecr;
unsigned long cp0_condition;
-
- long is_syscall;
};
#ifdef __KERNEL__
+struct task_struct;
+
/*
* Does the process account for user or for system time?
*/