x86: fix typo in step.c
TIF_DEBUGCTLMSR has no meaning in the actual MSR... Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
609b5297bc
commit
d032b31a3a
|
@ -166,7 +166,7 @@ static void enable_step(struct task_struct *child, bool block)
|
||||||
child->thread.debugctlmsr | DEBUGCTLMSR_BTF);
|
child->thread.debugctlmsr | DEBUGCTLMSR_BTF);
|
||||||
} else {
|
} else {
|
||||||
write_debugctlmsr(child,
|
write_debugctlmsr(child,
|
||||||
child->thread.debugctlmsr & ~TIF_DEBUGCTLMSR);
|
child->thread.debugctlmsr & ~DEBUGCTLMSR_BTF);
|
||||||
|
|
||||||
if (!child->thread.debugctlmsr)
|
if (!child->thread.debugctlmsr)
|
||||||
clear_tsk_thread_flag(child, TIF_DEBUGCTLMSR);
|
clear_tsk_thread_flag(child, TIF_DEBUGCTLMSR);
|
||||||
|
@ -189,7 +189,7 @@ void user_disable_single_step(struct task_struct *child)
|
||||||
* Make sure block stepping (BTF) is disabled.
|
* Make sure block stepping (BTF) is disabled.
|
||||||
*/
|
*/
|
||||||
write_debugctlmsr(child,
|
write_debugctlmsr(child,
|
||||||
child->thread.debugctlmsr & ~TIF_DEBUGCTLMSR);
|
child->thread.debugctlmsr & ~DEBUGCTLMSR_BTF);
|
||||||
|
|
||||||
if (!child->thread.debugctlmsr)
|
if (!child->thread.debugctlmsr)
|
||||||
clear_tsk_thread_flag(child, TIF_DEBUGCTLMSR);
|
clear_tsk_thread_flag(child, TIF_DEBUGCTLMSR);
|
||||||
|
|
Loading…
Reference in New Issue