diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2009-04-03 10:43:49 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-07 07:36:32 -0400 |
commit | 6047550d3d26fed88b18a208b31f8b90b5ef3e9b (patch) | |
tree | c1b67cde5c746883ea4bcbb4dc523261796237cf /arch/x86/kernel/ds.c | |
parent | 0f4814065ff8c24ca8bfd75c9b73502be152c287 (diff) |
x86, ds: dont use TIF_DEBUGCTLMSR
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>
Diffstat (limited to 'arch/x86/kernel/ds.c')
-rw-r--r-- | arch/x86/kernel/ds.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index 443f415441da..cab28320dac7 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c | |||
@@ -925,11 +925,6 @@ static void update_task_debugctlmsr(struct task_struct *task, | |||
925 | get_cpu(); | 925 | get_cpu(); |
926 | if (task == current) | 926 | if (task == current) |
927 | update_debugctlmsr(debugctlmsr); | 927 | update_debugctlmsr(debugctlmsr); |
928 | |||
929 | if (task->thread.debugctlmsr) | ||
930 | set_tsk_thread_flag(task, TIF_DEBUGCTLMSR); | ||
931 | else | ||
932 | clear_tsk_thread_flag(task, TIF_DEBUGCTLMSR); | ||
933 | put_cpu(); | 928 | put_cpu(); |
934 | } | 929 | } |
935 | 930 | ||