projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Uninline find_task_by_xxx set of functions
[linux-2.6-block.git]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 4ac56fe3c3944908366a2d9cab2abfa3d8bbec04..5d5e107ebc4eafec99ae2644e84b7848b50b73b7 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-4168,8
+4168,7
@@
struct task_struct *idle_task(int cpu)
*/
static struct task_struct *find_process_by_pid(pid_t pid)
{
- return pid ?
- find_task_by_pid_ns(pid, current->nsproxy->pid_ns) : current;
+ return pid ? find_task_by_vpid(pid) : current;
}
/* Actually do priority change: must hold rq lock. */