diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-15 15:57:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-15 15:57:13 +0100 |
commit | 17320a9644a45ccac51ce4ff4333276844abf72d (patch) | |
tree | cab05e7855ca9a1dd70963846c6f319ac8ff5480 | |
parent | [PATCH] Consistent capabilites associated with MPOL_MOVE_ALL (diff) | |
download | linux-17320a9644a45ccac51ce4ff4333276844abf72d.tar.xz linux-17320a9644a45ccac51ce4ff4333276844abf72d.zip |
[ARM] Fix "thead" typo
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |