aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 2275ce5776de..cf8ee0016307 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -107,8 +107,6 @@ void flush_thread(void)
107 } 107 }
108#endif 108#endif
109 109
110 clear_tsk_thread_flag(tsk, TIF_DEBUG);
111
112 if (unlikely(test_tsk_thread_flag(tsk, TIF_DEBUG))) 110 if (unlikely(test_tsk_thread_flag(tsk, TIF_DEBUG)))
113 flush_thread_hw_breakpoint(tsk); 111 flush_thread_hw_breakpoint(tsk);
114 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); 112 memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array));