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 /kernel | |
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 'kernel')
-rw-r--r-- | kernel/cpuset.c | 4 | ||||
-rw-r--r-- | kernel/time.c | 2 | ||||
-rw-r--r-- | kernel/workqueue_internal.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 64b3f791bbe5..902d13fc2b13 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -540,7 +540,7 @@ static void update_domain_attr_tree(struct sched_domain_attr *dattr, | |||
540 | * This function builds a partial partition of the systems CPUs | 540 | * This function builds a partial partition of the systems CPUs |
541 | * A 'partial partition' is a set of non-overlapping subsets whose | 541 | * A 'partial partition' is a set of non-overlapping subsets whose |
542 | * union is a subset of that set. | 542 | * union is a subset of that set. |
543 | * The output of this function needs to be passed to kernel/sched.c | 543 | * The output of this function needs to be passed to kernel/sched/core.c |
544 | * partition_sched_domains() routine, which will rebuild the scheduler's | 544 | * partition_sched_domains() routine, which will rebuild the scheduler's |
545 | * load balancing domains (sched domains) as specified by that partial | 545 | * load balancing domains (sched domains) as specified by that partial |
546 | * partition. | 546 | * partition. |
@@ -569,7 +569,7 @@ static void update_domain_attr_tree(struct sched_domain_attr *dattr, | |||
569 | * is a subset of one of these domains, while there are as | 569 | * is a subset of one of these domains, while there are as |
570 | * many such domains as possible, each as small as possible. | 570 | * many such domains as possible, each as small as possible. |
571 | * doms - Conversion of 'csa' to an array of cpumasks, for passing to | 571 | * doms - Conversion of 'csa' to an array of cpumasks, for passing to |
572 | * the kernel/sched.c routine partition_sched_domains() in a | 572 | * the kernel/sched/core.c routine partition_sched_domains() in a |
573 | * convenient format, that can be easily compared to the prior | 573 | * convenient format, that can be easily compared to the prior |
574 | * value to determine what partition elements (sched domains) | 574 | * value to determine what partition elements (sched domains) |
575 | * were changed (added or removed.) | 575 | * were changed (added or removed.) |
diff --git a/kernel/time.c b/kernel/time.c index d3617dbd3dca..7c7964c33ae7 100644 --- a/kernel/time.c +++ b/kernel/time.c | |||
@@ -11,7 +11,7 @@ | |||
11 | * Modification history kernel/time.c | 11 | * Modification history kernel/time.c |
12 | * | 12 | * |
13 | * 1993-09-02 Philip Gladstone | 13 | * 1993-09-02 Philip Gladstone |
14 | * Created file with time related functions from sched.c and adjtimex() | 14 | * Created file with time related functions from sched/core.c and adjtimex() |
15 | * 1993-10-08 Torsten Duwe | 15 | * 1993-10-08 Torsten Duwe |
16 | * adjtime interface update and CMOS clock write code | 16 | * adjtime interface update and CMOS clock write code |
17 | * 1995-08-13 Torsten Duwe | 17 | * 1995-08-13 Torsten Duwe |
diff --git a/kernel/workqueue_internal.h b/kernel/workqueue_internal.h index ad83c96b2ece..7e2204db0b1a 100644 --- a/kernel/workqueue_internal.h +++ b/kernel/workqueue_internal.h | |||
@@ -64,7 +64,7 @@ static inline struct worker *current_wq_worker(void) | |||
64 | 64 | ||
65 | /* | 65 | /* |
66 | * Scheduler hooks for concurrency managed workqueue. Only to be used from | 66 | * Scheduler hooks for concurrency managed workqueue. Only to be used from |
67 | * sched.c and workqueue.c. | 67 | * sched/core.c and workqueue.c. |
68 | */ | 68 | */ |
69 | void wq_worker_waking_up(struct task_struct *task, int cpu); | 69 | void wq_worker_waking_up(struct task_struct *task, int cpu); |
70 | struct task_struct *wq_worker_sleeping(struct task_struct *task, int cpu); | 70 | struct task_struct *wq_worker_sleeping(struct task_struct *task, int cpu); |