]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/exit.c
ftrace: have function graph use mcount caller address
[karo-tx-linux.git] / kernel / exit.c
index 2d8be7ebb0f73499f894a1828fd827f0217290f1..e5ae36ebe8afda0efe91c14ad4eec30d313492f0 100644 (file)
 #include <asm/pgtable.h>
 #include <asm/mmu_context.h>
 
+DEFINE_TRACE(sched_process_free);
+DEFINE_TRACE(sched_process_exit);
+DEFINE_TRACE(sched_process_wait);
+
 static void exit_mm(struct task_struct * tsk);
 
 static inline int task_detached(struct task_struct *p)
@@ -1123,7 +1127,6 @@ NORET_TYPE void do_exit(long code)
        preempt_disable();
        /* causes final put_task_struct in finish_task_switch(). */
        tsk->state = TASK_DEAD;
-
        schedule();
        BUG();
        /* Avoid "noreturn function does return".  */