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.
Showing the changes to include/uapi (1 of 21 files). Show all
Unified · Split
| @@ -361,7 +361,7 @@ __SYSCALL(__NR_syslog, sys_syslog) · 360 unmodified lines | ||
| 361 | 361 | #define __NR_ptrace 117 |
| 362 | 362 | __SYSCALL(__NR_ptrace, sys_ptrace) |
| 363 | 363 | |
| 364 | −/* kernel/sched.c */ | |
| 364 | +/* kernel/sched/core.c */ | |
| 365 | 365 | #define __NR_sched_setparam 118 |
| 366 | 366 | __SYSCALL(__NR_sched_setparam, sys_sched_setparam) |
| 367 | 367 | #define __NR_sched_setscheduler 119 |