]> Pileus Git - ~andy/linux/blobdiff - kernel/exit.c
Input: mousedev - fix race when creating mixed device
[~andy/linux] / kernel / exit.c
index fafe75d9e6f6fdfc0bab7ff7104d7e2ad97199ca..a949819055d51d5d4335544f81016770af6b687e 100644 (file)
@@ -808,7 +808,7 @@ void do_exit(long code)
        /*
         * FIXME: do that only when needed, using sched_exit tracepoint
         */
-       ptrace_put_breakpoints(tsk);
+       flush_ptrace_hw_breakpoint(tsk);
 
        exit_notify(tsk, group_dead);
 #ifdef CONFIG_NUMA