diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index ccb87162ff62..c7422ca92038 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -55,6 +55,10 @@ | |||
55 | #include <asm/mmu_context.h> | 55 | #include <asm/mmu_context.h> |
56 | #include "cred-internals.h" | 56 | #include "cred-internals.h" |
57 | 57 | ||
58 | DEFINE_TRACE(sched_process_free); | ||
59 | DEFINE_TRACE(sched_process_exit); | ||
60 | DEFINE_TRACE(sched_process_wait); | ||
61 | |||
58 | static void exit_mm(struct task_struct * tsk); | 62 | static void exit_mm(struct task_struct * tsk); |
59 | 63 | ||
60 | static inline int task_detached(struct task_struct *p) | 64 | static inline int task_detached(struct task_struct *p) |
@@ -1127,7 +1131,6 @@ NORET_TYPE void do_exit(long code) | |||
1127 | preempt_disable(); | 1131 | preempt_disable(); |
1128 | /* causes final put_task_struct in finish_task_switch(). */ | 1132 | /* causes final put_task_struct in finish_task_switch(). */ |
1129 | tsk->state = TASK_DEAD; | 1133 | tsk->state = TASK_DEAD; |
1130 | |||
1131 | schedule(); | 1134 | schedule(); |
1132 | BUG(); | 1135 | BUG(); |
1133 | /* Avoid "noreturn function does return". */ | 1136 | /* Avoid "noreturn function does return". */ |