diff options
Diffstat (limited to 'arch/i386/kernel/process.c')
-rw-r--r-- | arch/i386/kernel/process.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/i386/kernel/process.c b/arch/i386/kernel/process.c index 1cb261f225d5..df6c2bcde067 100644 --- a/arch/i386/kernel/process.c +++ b/arch/i386/kernel/process.c | |||
@@ -393,13 +393,6 @@ void flush_thread(void) | |||
393 | { | 393 | { |
394 | struct task_struct *tsk = current; | 394 | struct task_struct *tsk = current; |
395 | 395 | ||
396 | /* | ||
397 | * Remove function-return probe instances associated with this task | ||
398 | * and put them back on the free list. Do not insert an exit probe for | ||
399 | * this function, it will be disabled by kprobe_flush_task if you do. | ||
400 | */ | ||
401 | kprobe_flush_task(tsk); | ||
402 | |||
403 | memset(tsk->thread.debugreg, 0, sizeof(unsigned long)*8); | 396 | memset(tsk->thread.debugreg, 0, sizeof(unsigned long)*8); |
404 | memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); | 397 | memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); |
405 | /* | 398 | /* |