diff options
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/mips-mt-fpaff.c | 4 | ||||
-rw-r--r-- | arch/mips/kernel/scall32-o32.S | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/arch/mips/kernel/mips-mt-fpaff.c b/arch/mips/kernel/mips-mt-fpaff.c index fd814e08c945..cb098628aee8 100644 --- a/arch/mips/kernel/mips-mt-fpaff.c +++ b/arch/mips/kernel/mips-mt-fpaff.c | |||
@@ -27,12 +27,12 @@ unsigned long mt_fpemul_threshold; | |||
27 | * FPU affinity with the user's requested processor affinity. | 27 | * FPU affinity with the user's requested processor affinity. |
28 | * This code is 98% identical with the sys_sched_setaffinity() | 28 | * This code is 98% identical with the sys_sched_setaffinity() |
29 | * and sys_sched_getaffinity() system calls, and should be | 29 | * and sys_sched_getaffinity() system calls, and should be |
30 | * updated when kernel/sched.c changes. | 30 | * updated when kernel/sched/core.c changes. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | /* | 33 | /* |
34 | * find_process_by_pid - find a process with a matching PID value. | 34 | * find_process_by_pid - find a process with a matching PID value. |
35 | * used in sys_sched_set/getaffinity() in kernel/sched.c, so | 35 | * used in sys_sched_set/getaffinity() in kernel/sched/core.c, so |
36 | * cloned here. | 36 | * cloned here. |
37 | */ | 37 | */ |
38 | static inline struct task_struct *find_process_by_pid(pid_t pid) | 38 | static inline struct task_struct *find_process_by_pid(pid_t pid) |
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S index 9b36424b03c5..e9127ec612ef 100644 --- a/arch/mips/kernel/scall32-o32.S +++ b/arch/mips/kernel/scall32-o32.S | |||
@@ -476,8 +476,9 @@ einval: li v0, -ENOSYS | |||
476 | /* | 476 | /* |
477 | * For FPU affinity scheduling on MIPS MT processors, we need to | 477 | * For FPU affinity scheduling on MIPS MT processors, we need to |
478 | * intercept sys_sched_xxxaffinity() calls until we get a proper hook | 478 | * intercept sys_sched_xxxaffinity() calls until we get a proper hook |
479 | * in kernel/sched.c. Considered only temporary we only support these | 479 | * in kernel/sched/core.c. Considered only temporary we only support |
480 | * hooks for the 32-bit kernel - there is no MIPS64 MT processor atm. | 480 | * these hooks for the 32-bit kernel - there is no MIPS64 MT processor |
481 | * atm. | ||
481 | */ | 482 | */ |
482 | sys mipsmt_sys_sched_setaffinity 3 | 483 | sys mipsmt_sys_sched_setaffinity 3 |
483 | sys mipsmt_sys_sched_getaffinity 3 | 484 | sys mipsmt_sys_sched_getaffinity 3 |