summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c
index 02ef1a754..9759ced3b 100644
--- a/arch/mips/kernel/ptrace.c
+++ b/arch/mips/kernel/ptrace.c
@@ -207,7 +207,7 @@ asmlinkage int sys_ptrace(long request, long pid, long addr, long data)
case PTRACE_POKEUSR: {
struct pt_regs *regs;
- int res = 0;
+ res = 0;
regs = (struct pt_regs *) ((unsigned long) child +
KERNEL_STACK_SIZE - 32 - sizeof(struct pt_regs));