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]
/
include
/
asm-ppc64
/
ptrace-common.h
diff --git
a/include/asm-ppc64/ptrace-common.h
b/include/asm-ppc64/ptrace-common.h
index
3dbd3e5
..
af03547
100644
(file)
--- a/
include/asm-ppc64/ptrace-common.h
+++ b/
include/asm-ppc64/ptrace-common.h
@@
-58,6
+58,7
@@
static inline void set_single_step(struct task_struct *task)
struct pt_regs *regs = task->thread.regs;
if (regs != NULL)
regs->msr |= MSR_SE;
struct pt_regs *regs = task->thread.regs;
if (regs != NULL)
regs->msr |= MSR_SE;
+ set_ti_thread_flag(task->thread_info, TIF_SINGLESTEP);
}
static inline void clear_single_step(struct task_struct *task)
}
static inline void clear_single_step(struct task_struct *task)
@@
-65,6
+66,7
@@
static inline void clear_single_step(struct task_struct *task)
struct pt_regs *regs = task->thread.regs;
if (regs != NULL)
regs->msr &= ~MSR_SE;
struct pt_regs *regs = task->thread.regs;
if (regs != NULL)
regs->msr &= ~MSR_SE;
+ clear_ti_thread_flag(task->thread_info, TIF_SINGLESTEP);
}
#endif /* _PPC64_PTRACE_COMMON_H */
}
#endif /* _PPC64_PTRACE_COMMON_H */