[ARM] Fix "thead" typo
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 15 Mar 2006 14:57:13 +0000 (14:57 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 15 Mar 2006 14:57:13 +0000 (14:57 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ptrace.c

index bc9e2f8ae3265de120f28a7939e5c24ca8d2d1d1..a1d1b2906e8d60006090cdd62012c38f41352221 100644 (file)
@@ -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;
 }