From: Russell King Date: Wed, 15 Mar 2006 14:57:13 +0000 (+0000) Subject: [ARM] Fix "thead" typo X-Git-Tag: v2.6.16~25^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=17320a9644a45ccac51ce4ff4333276844abf72d;p=linux-2.6-omap-h63xx.git [ARM] Fix "thead" typo Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index bc9e2f8ae32..a1d1b2906e8 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c @@ -628,7 +628,7 @@ static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) if (!test_ti_thread_flag(thread, TIF_USING_IWMMXT)) return -EACCES; iwmmxt_task_release(thread); /* force a reload */ - return copy_from_user(&thead->fpstate.iwmmxt, ufp, IWMMXT_SIZE) + return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) ? -EFAULT : 0; }