aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-23 03:18:56 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 03:19:35 -0500
commit82f60f0bc854aada696f27d863c03bef91f1509d (patch)
tree521fbccfc12f6c8a36f261b20eacbc84a4a31add /kernel/exit.c
parentf201ae2356c74bcae130b2177b3dca903ea98071 (diff)
tracing/function-return-tracer: clean up task start/exit callbacks
Impact: cleanup Eliminate #ifdefs in core code by using empty inline functions. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index b9d446329da1..ef04d03b3286 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1128,9 +1128,7 @@ NORET_TYPE void do_exit(long code)
1128 preempt_disable(); 1128 preempt_disable();
1129 /* causes final put_task_struct in finish_task_switch(). */ 1129 /* causes final put_task_struct in finish_task_switch(). */
1130 tsk->state = TASK_DEAD; 1130 tsk->state = TASK_DEAD;
1131#ifdef CONFIG_FUNCTION_RET_TRACER
1132 ftrace_retfunc_exit_task(tsk); 1131 ftrace_retfunc_exit_task(tsk);
1133#endif
1134 schedule(); 1132 schedule();
1135 BUG(); 1133 BUG();
1136 /* Avoid "noreturn function does return". */ 1134 /* Avoid "noreturn function does return". */