2006-01-14 20:50:33

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH] arm26: s/task_threas_info/task_thread_info/

Signed-off-by: Alexey Dobriyan <[email protected]>
---

I'm in the quest to make it build. So far only clusterfsck with NR_IRQS,
asm/irq.h, asm/hardirq.h ... is the only thing I don't understand.

arch/arm26/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm26/kernel/ptrace.c
+++ b/arch/arm26/kernel/ptrace.c
@@ -527,7 +527,7 @@
static int ptrace_setfpregs(struct task_struct *tsk, void *ufp)
{
set_stopped_child_used_math(tsk);
- return copy_from_user(&task_threas_info(tsk)->fpstate, ufp,
+ return copy_from_user(&task_thread_info(tsk)->fpstate, ufp,
sizeof(struct user_fp)) ? -EFAULT : 0;
}



2006-01-15 23:08:03

by Ian molton

[permalink] [raw]
Subject: Re: [PATCH] arm26: s/task_threas_info/task_thread_info/

Alexey Dobriyan wrote:

Obviously correct.

Signed-off-by: Ian Molton <[email protected]>
Signed-off-by: Alexey Dobriyan <[email protected]>
---

I'm in the quest to make it build. So far only clusterfsck with NR_IRQS,
asm/irq.h, asm/hardirq.h ... is the only thing I don't understand.

arch/arm26/kernel/ptrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/arm26/kernel/ptrace.c
+++ b/arch/arm26/kernel/ptrace.c
@@ -527,7 +527,7 @@
static int ptrace_setfpregs(struct task_struct *tsk, void *ufp)
{
set_stopped_child_used_math(tsk);
- return copy_from_user(&task_threas_info(tsk)->fpstate, ufp,
+ return copy_from_user(&task_thread_info(tsk)->fpstate, ufp,
sizeof(struct user_fp)) ? -EFAULT : 0;
}