diff options
Diffstat (limited to 'arch/frv/mm/mmu-context.c')
-rw-r--r-- | arch/frv/mm/mmu-context.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
181 | 181 | ||
182 | /* get a handle on the mm_struct */ | 182 | /* get a handle on the mm_struct */ |
183 | read_lock(&tasklist_lock); | 183 | read_lock(&tasklist_lock); |
184 | tsk = find_task_by_pid(pid); | 184 | tsk = find_task_by_vpid(pid); |
185 | if (tsk) { | 185 | if (tsk) { |
186 | ret = -EINVAL; | 186 | ret = -EINVAL; |
187 | 187 | ||