git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
arm26
/
kernel
/
ptrace.c
diff --git
a/arch/arm26/kernel/ptrace.c
b/arch/arm26/kernel/ptrace.c
index
ae9c558
..
d2e8189
100644
(file)
--- a/
arch/arm26/kernel/ptrace.c
+++ b/
arch/arm26/kernel/ptrace.c
@@
-540,7
+540,7
@@
static int ptrace_getfpregs(struct task_struct *tsk, void *ufp)
*/
static int ptrace_setfpregs(struct task_struct *tsk, void *ufp)
{
*/
static int ptrace_setfpregs(struct task_struct *tsk, void *ufp)
{
-
tsk->used_math = 1
;
+
set_stopped_child_used_math(tsk)
;
return copy_from_user(&tsk->thread_info->fpstate, ufp,
sizeof(struct user_fp)) ? -EFAULT : 0;
}
return copy_from_user(&tsk->thread_info->fpstate, ufp,
sizeof(struct user_fp)) ? -EFAULT : 0;
}
@@
-614,7
+614,7
@@
static int do_ptrace(int request, struct task_struct *child, long addr, long dat
/* make sure single-step breakpoint is gone. */
child->ptrace &= ~PT_SINGLESTEP;
ptrace_cancel_bpt(child);
/* make sure single-step breakpoint is gone. */
child->ptrace &= ~PT_SINGLESTEP;
ptrace_cancel_bpt(child);
- if (child->
state != TASK
_ZOMBIE) {
+ if (child->
exit_state != EXIT
_ZOMBIE) {
child->exit_code = SIGKILL;
wake_up_process(child);
}
child->exit_code = SIGKILL;
wake_up_process(child);
}