Skip to content

Commit

Permalink
x86, ds: dont use TIF_DEBUGCTLMSR
Browse files Browse the repository at this point in the history
Debug store already uses TIF_DS_AREA_MSR to trigger debug store context
switch handling. No need to use TIF_DEBUGCTLMSR, as well.

Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Cc: roland@redhat.com
Cc: eranian@googlemail.com
Cc: oleg@redhat.com
Cc: juan.villacis@intel.com
Cc: ak@linux.jf.intel.com
LKML-Reference: <20090403144604.256645000@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Apr 7, 2009
1 parent 0f48140 commit 6047550
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/x86/kernel/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,11 +925,6 @@ static void update_task_debugctlmsr(struct task_struct *task,
get_cpu();
if (task == current)
update_debugctlmsr(debugctlmsr);

if (task->thread.debugctlmsr)
set_tsk_thread_flag(task, TIF_DEBUGCTLMSR);
else
clear_tsk_thread_flag(task, TIF_DEBUGCTLMSR);
put_cpu();
}

Expand Down

0 comments on commit 6047550

Please sign in to comment.