diff options
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/kernel/entry.S | 2 | ||||
| -rw-r--r-- | arch/mips/kernel/mips-mt.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S index ecfd637d702a..01e7fa86aa43 100644 --- a/arch/mips/kernel/entry.S +++ b/arch/mips/kernel/entry.S | |||
| @@ -65,7 +65,7 @@ need_resched: | |||
| 65 | #endif | 65 | #endif |
| 66 | 66 | ||
| 67 | FEXPORT(ret_from_fork) | 67 | FEXPORT(ret_from_fork) |
| 68 | jal schedule_tail # a0 = task_t *prev | 68 | jal schedule_tail # a0 = struct task_struct *prev |
| 69 | 69 | ||
| 70 | FEXPORT(syscall_exit) | 70 | FEXPORT(syscall_exit) |
| 71 | local_irq_disable # make sure need_resched and | 71 | local_irq_disable # make sure need_resched and |
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) |
