diff options
Diffstat (limited to 'arch/mips/kernel/mips-mt-fpaff.c')
-rw-r--r-- | arch/mips/kernel/mips-mt-fpaff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/mips-mt-fpaff.c b/arch/mips/kernel/mips-mt-fpaff.c index bb4f00c0cbe9..df4d3f2f740c 100644 --- a/arch/mips/kernel/mips-mt-fpaff.c +++ b/arch/mips/kernel/mips-mt-fpaff.c | |||
@@ -36,7 +36,7 @@ unsigned long mt_fpemul_threshold = 0; | |||
36 | */ | 36 | */ |
37 | static inline struct task_struct *find_process_by_pid(pid_t pid) | 37 | static inline struct task_struct *find_process_by_pid(pid_t pid) |
38 | { | 38 | { |
39 | return pid ? find_task_by_pid(pid) : current; | 39 | return pid ? find_task_by_vpid(pid) : current; |
40 | } | 40 | } |
41 | 41 | ||
42 | 42 | ||