x86: fix typo in step.c
authorJan Beulich <jbeulich@novell.com>
Wed, 5 Mar 2008 08:36:48 +0000 (08:36 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Mar 2008 15:39:14 +0000 (16:39 +0100)
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>
arch/x86/kernel/step.c

index 2ef1a5f8d6758043b6ce2204da47cb71e5cc1614..9d406cdc847f4da493611d3f48a634e8f868792b 100644 (file)
@@ -166,7 +166,7 @@ static void enable_step(struct task_struct *child, bool block)
                                  child->thread.debugctlmsr | DEBUGCTLMSR_BTF);
        } else {
            write_debugctlmsr(child,
-                             child->thread.debugctlmsr & ~TIF_DEBUGCTLMSR);
+                             child->thread.debugctlmsr & ~DEBUGCTLMSR_BTF);
 
            if (!child->thread.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.
         */
        write_debugctlmsr(child,
-                         child->thread.debugctlmsr & ~TIF_DEBUGCTLMSR);
+                         child->thread.debugctlmsr & ~DEBUGCTLMSR_BTF);
 
        if (!child->thread.debugctlmsr)
                clear_tsk_thread_flag(child, TIF_DEBUGCTLMSR);