]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/i386/kernel/process.c
[PATCH] kprobes: Fix return probes on sys_execve
[linux-2.6-omap-h63xx.git] / arch / i386 / kernel / process.c
index 1cb261f225d580939785c0b9fc94859dcf92a8a0..df6c2bcde0672af1c7d5f084810e874d82a95e04 100644 (file)
@@ -393,13 +393,6 @@ void flush_thread(void)
 {
        struct task_struct *tsk = current;
 
-       /*
-        * Remove function-return probe instances associated with this task
-        * and put them back on the free list. Do not insert an exit probe for
-        * this function, it will be disabled by kprobe_flush_task if you do.
-        */
-       kprobe_flush_task(tsk);
-
        memset(tsk->thread.debugreg, 0, sizeof(unsigned long)*8);
        memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array));        
        /*