diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-23 09:18:56 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 09:19:35 +0100 |
commit | 82f60f0bc854aada696f27d863c03bef91f1509d (patch) | |
tree | 521fbccfc12f6c8a36f261b20eacbc84a4a31add /kernel/fork.c | |
parent | f201ae2356c74bcae130b2177b3dca903ea98071 (diff) | |
download | op-kernel-dev-82f60f0bc854aada696f27d863c03bef91f1509d.zip op-kernel-dev-82f60f0bc854aada696f27d863c03bef91f1509d.tar.gz |
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/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index d1eb30e..fbf4a4c 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1270,9 +1270,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, total_forks++; spin_unlock(¤t->sighand->siglock); write_unlock_irq(&tasklist_lock); -#ifdef CONFIG_FUNCTION_RET_TRACER ftrace_retfunc_init_task(p); -#endif proc_fork_connector(p); cgroup_post_fork(p); return p; |