[MIPS] Use find_task_by_vpid in system calls
commit0e568536d94256819f17662c26c82a42e44a7a7c
authorPavel Emelyanov <xemul@openvz.org>
Tue, 5 Feb 2008 07:44:24 +0000 (4 23:44 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 19 Feb 2008 17:01:30 +0000 (19 17:01 +0000)
treeee4e22f185f639a92482e7386496326a065ac51f
parent9a4c8546f3e7c893888bccc2b3416d6214f2664a
[MIPS] Use find_task_by_vpid in system calls

There are some places left in mips, that lookup task in initial namespace,
while the code doing so gets the pid from the user space and thus must
treat it as virtual.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/mips-mt-fpaff.c
arch/mips/kernel/sysirix.c