aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.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/fork.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/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index d1eb30e69ccc..fbf4a4c0a628 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1270,9 +1270,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1270 total_forks++; 1270 total_forks++;
1271 spin_unlock(&current->sighand->siglock); 1271 spin_unlock(&current->sighand->siglock);
1272 write_unlock_irq(&tasklist_lock); 1272 write_unlock_irq(&tasklist_lock);
1273#ifdef CONFIG_FUNCTION_RET_TRACER
1274 ftrace_retfunc_init_task(p); 1273 ftrace_retfunc_init_task(p);
1275#endif
1276 proc_fork_connector(p); 1274 proc_fork_connector(p);
1277 cgroup_post_fork(p); 1275 cgroup_post_fork(p);
1278 return p; 1276 return p;