diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 086fe73ad6bd..8531609b6a82 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1373,7 +1373,6 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1373 | INIT_LIST_HEAD(&p->pi_state_list); | 1373 | INIT_LIST_HEAD(&p->pi_state_list); |
1374 | p->pi_state_cache = NULL; | 1374 | p->pi_state_cache = NULL; |
1375 | #endif | 1375 | #endif |
1376 | uprobe_copy_process(p); | ||
1377 | /* | 1376 | /* |
1378 | * sigaltstack should be cleared when sharing the same VM | 1377 | * sigaltstack should be cleared when sharing the same VM |
1379 | */ | 1378 | */ |
@@ -1490,6 +1489,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1490 | perf_event_fork(p); | 1489 | perf_event_fork(p); |
1491 | 1490 | ||
1492 | trace_task_newtask(p, clone_flags); | 1491 | trace_task_newtask(p, clone_flags); |
1492 | uprobe_copy_process(p, clone_flags); | ||
1493 | 1493 | ||
1494 | return p; | 1494 | return p; |
1495 | 1495 | ||