diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-06-04 03:40:24 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-06-19 06:58:42 -0400 |
commit | 0a0fca9d832b704f116a25badd1ca8c16771dcac (patch) | |
tree | 499c5502a79447c84ad1d70d1e976083f2f071dc /arch/mips | |
parent | 8404c90d050733b3404dc36c500f63ccb0c972ce (diff) |
sched: Rename sched.c as sched/core.c in comments and Documentation
Most of the stuff from kernel/sched.c was moved to kernel/sched/core.c long time
back and the comments/Documentation never got updated.
I figured it out when I was going through sched-domains.txt and so thought of
fixing it globally.
I haven't crossed check if the stuff that is referenced in sched/core.c by all
these files is still present and hasn't changed as that wasn't the motive behind
this patch.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/cdff76a265326ab8d71922a1db5be599f20aad45.1370329560.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/mips')
-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 |