[patch 16/18] x86, ds: dont use TIF_DEBUGCTLMSR

markus.t.metzger
2009-04-02T15:03:25Z

[-- Attachment #1: tip.master.ds.tif_debugctlmsr.patch --]
[-- Type: text/plain, Size: 716 bytes --]

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>
---
arch/x86/kernel/ds.c | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

Index: b/arch/x86/kernel/ds.c
===================================================================
--- a/arch/x86/kernel/ds.c
+++ b/arch/x86/kernel/ds.c
@@ -953,11 +953,6 @@ static void update_task_debugctlmsr(stru
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();
}