Commit a3db446c authored by Luiz Capitulino's avatar Luiz Capitulino Committed by Linus Torvalds

[PATCH] kernel/fork.c add missing unlikely().

Signed-off-by: default avatarLuiz Capitulino <lcapitulino@conectiva.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 139bd0a4
...@@ -1120,7 +1120,7 @@ static task_t *copy_process(unsigned long clone_flags, ...@@ -1120,7 +1120,7 @@ static task_t *copy_process(unsigned long clone_flags,
} }
SET_LINKS(p); SET_LINKS(p);
if (p->ptrace & PT_PTRACED) if (unlikely(p->ptrace & PT_PTRACED))
__ptrace_link(p, current->parent); __ptrace_link(p, current->parent);
attach_pid(p, PIDTYPE_PID, p->pid); attach_pid(p, PIDTYPE_PID, p->pid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment