From: Russell King Date: Wed, 15 Mar 2006 14:57:13 +0000 (+0000) Subject: [ARM] Fix "thead" typo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17320a9644a45ccac51ce4ff4333276844abf72d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 bc9e2f8ae326..a1d1b2906e8d 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; }