diff options
Diffstat (limited to 'arch/mips/kernel/mips-mt.c')
| -rw-r--r-- | arch/mips/kernel/mips-mt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c index 02237a685ec7..4dcc39f42951 100644 --- a/arch/mips/kernel/mips-mt.c +++ b/arch/mips/kernel/mips-mt.c | |||
| @@ -47,7 +47,7 @@ unsigned long mt_fpemul_threshold = 0; | |||
| 47 | * used in sys_sched_set/getaffinity() in kernel/sched.c, so | 47 | * used in sys_sched_set/getaffinity() in kernel/sched.c, so |
| 48 | * cloned here. | 48 | * cloned here. |
| 49 | */ | 49 | */ |
| 50 | static inline task_t *find_process_by_pid(pid_t pid) | 50 | static inline struct task_struct *find_process_by_pid(pid_t pid) |
| 51 | { | 51 | { |
| 52 | return pid ? find_task_by_pid(pid) : current; | 52 | return pid ? find_task_by_pid(pid) : current; |
| 53 | } | 53 | } |
| @@ -62,7 +62,7 @@ asmlinkage long mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, | |||
| 62 | cpumask_t new_mask; | 62 | cpumask_t new_mask; |
| 63 | cpumask_t effective_mask; | 63 | cpumask_t effective_mask; |
| 64 | int retval; | 64 | int retval; |
| 65 | task_t *p; | 65 | struct task_struct *p; |
| 66 | 66 | ||
| 67 | if (len < sizeof(new_mask)) | 67 | if (len < sizeof(new_mask)) |
| 68 | return -EINVAL; | 68 | return -EINVAL; |
| @@ -127,7 +127,7 @@ asmlinkage long mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len, | |||
| 127 | unsigned int real_len; | 127 | unsigned int real_len; |
| 128 | cpumask_t mask; | 128 | cpumask_t mask; |
| 129 | int retval; | 129 | int retval; |
| 130 | task_t *p; | 130 | struct task_struct *p; |
| 131 | 131 | ||
| 132 | real_len = sizeof(mask); | 132 | real_len = sizeof(mask); |
| 133 | if (len < real_len) | 133 | if (len < real_len) |
