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 /include | |
| 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 'include')
| -rw-r--r-- | include/linux/completion.h | 2 | ||||
| -rw-r--r-- | include/linux/perf_event.h | 2 | ||||
| -rw-r--r-- | include/linux/spinlock_up.h | 2 | ||||
| -rw-r--r-- | include/uapi/asm-generic/unistd.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/completion.h b/include/linux/completion.h index 33f0280fd533..3cd574d5b19e 100644 --- a/include/linux/completion.h +++ b/include/linux/completion.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * (C) Copyright 2001 Linus Torvalds | 5 | * (C) Copyright 2001 Linus Torvalds |
| 6 | * | 6 | * |
| 7 | * Atomic wait-for-completion handler data structures. | 7 | * Atomic wait-for-completion handler data structures. |
| 8 | * See kernel/sched.c for details. | 8 | * See kernel/sched/core.c for details. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/wait.h> | 11 | #include <linux/wait.h> |
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index f463a46424e2..5ec99e5a50d2 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -803,7 +803,7 @@ static inline void perf_restore_debug_store(void) { } | |||
| 803 | #define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x)) | 803 | #define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x)) |
| 804 | 804 | ||
| 805 | /* | 805 | /* |
| 806 | * This has to have a higher priority than migration_notifier in sched.c. | 806 | * This has to have a higher priority than migration_notifier in sched/core.c. |
| 807 | */ | 807 | */ |
| 808 | #define perf_cpu_notifier(fn) \ | 808 | #define perf_cpu_notifier(fn) \ |
| 809 | do { \ | 809 | do { \ |
diff --git a/include/linux/spinlock_up.h b/include/linux/spinlock_up.h index e2369c167dbd..8b3ac0d718eb 100644 --- a/include/linux/spinlock_up.h +++ b/include/linux/spinlock_up.h | |||
| @@ -67,7 +67,7 @@ static inline void arch_spin_unlock(arch_spinlock_t *lock) | |||
| 67 | 67 | ||
| 68 | #else /* DEBUG_SPINLOCK */ | 68 | #else /* DEBUG_SPINLOCK */ |
| 69 | #define arch_spin_is_locked(lock) ((void)(lock), 0) | 69 | #define arch_spin_is_locked(lock) ((void)(lock), 0) |
| 70 | /* for sched.c and kernel_lock.c: */ | 70 | /* for sched/core.c and kernel_lock.c: */ |
| 71 | # define arch_spin_lock(lock) do { barrier(); (void)(lock); } while (0) | 71 | # define arch_spin_lock(lock) do { barrier(); (void)(lock); } while (0) |
| 72 | # define arch_spin_lock_flags(lock, flags) do { barrier(); (void)(lock); } while (0) | 72 | # define arch_spin_lock_flags(lock, flags) do { barrier(); (void)(lock); } while (0) |
| 73 | # define arch_spin_unlock(lock) do { barrier(); (void)(lock); } while (0) | 73 | # define arch_spin_unlock(lock) do { barrier(); (void)(lock); } while (0) |
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 0cc74c4403e4..a20a9b4d3871 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h | |||
| @@ -361,7 +361,7 @@ __SYSCALL(__NR_syslog, sys_syslog) | |||
| 361 | #define __NR_ptrace 117 | 361 | #define __NR_ptrace 117 |
| 362 | __SYSCALL(__NR_ptrace, sys_ptrace) | 362 | __SYSCALL(__NR_ptrace, sys_ptrace) |
| 363 | 363 | ||
| 364 | /* kernel/sched.c */ | 364 | /* kernel/sched/core.c */ |
| 365 | #define __NR_sched_setparam 118 | 365 | #define __NR_sched_setparam 118 |
| 366 | __SYSCALL(__NR_sched_setparam, sys_sched_setparam) | 366 | __SYSCALL(__NR_sched_setparam, sys_sched_setparam) |
| 367 | #define __NR_sched_setscheduler 119 | 367 | #define __NR_sched_setscheduler 119 |
