X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Ffrv%2Fmm%2Fmmu-context.c;h=81757d55a5b592fed1e38281edc0cbb6a256dff7;hb=540e3102f75dca9c5e614905527599de18294cc8;hp=1530a4111e6d743345ff379d191ba7d6df06e9a3;hpb=79072f38909e3d9883317238887460c39ddcc4cb;p=cascardo%2Flinux.git diff --git a/arch/frv/mm/mmu-context.c b/arch/frv/mm/mmu-context.c index 1530a4111e6d..81757d55a5b5 100644 --- a/arch/frv/mm/mmu-context.c +++ b/arch/frv/mm/mmu-context.c @@ -181,7 +181,7 @@ int cxn_pin_by_pid(pid_t pid) /* get a handle on the mm_struct */ read_lock(&tasklist_lock); - tsk = find_task_by_pid(pid); + tsk = find_task_by_vpid(pid); if (tsk) { ret = -EINVAL;